diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-07 12:31:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 12:31:20 -0700 |
commit | 564f61f602b407e0598be762923853042a0e4aab (patch) | |
tree | 5db1d0894573004b350a88d4833a75e436006cc6 /src/util | |
parent | 484bbecf7b0106c0ab5478df326fe62dc866f5fd (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.h | 5 |
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 |