summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-09-07 12:31:20 -0700
committerGitHub <noreply@github.com>2018-09-07 12:31:20 -0700
commit564f61f602b407e0598be762923853042a0e4aab (patch)
tree5db1d0894573004b350a88d4833a75e436006cc6 /src/util
parent484bbecf7b0106c0ab5478df326fe62dc866f5fd (diff)
Replace boost::integer_traits with std::numeric_limits. (#2439)
Further, remove redundant gmp.h include in options_handler.cpp.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/dense_map.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/dense_map.h b/src/util/dense_map.h
index a3a1573c0..410fcc8fa 100644
--- a/src/util/dense_map.h
+++ b/src/util/dense_map.h
@@ -26,7 +26,7 @@
#pragma once
-#include <boost/integer_traits.hpp>
+#include <limits>
#include <vector>
#include "base/cvc4_assert.h"
@@ -48,7 +48,8 @@ private:
typedef Index Position;
typedef std::vector<Position> PositionMap;
- static const Position POSITION_SENTINEL = boost::integer_traits<Position>::const_max;
+ static const Position POSITION_SENTINEL =
+ std::numeric_limits<Position>::max();
//Each Key in the set is mapped to its position in d_list.
//Each Key not in the set is mapped to KEY_SENTINEL
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback