summaryrefslogtreecommitdiff
path: root/src/context/cdtrail_hashmap.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2017-07-16 22:13:10 -0700
committerGitHub <noreply@github.com>2017-07-16 22:13:10 -0700
commit949e19cbc2881996e5c5eed613f4506264482039 (patch)
treeb96131f9df0699fcd86826a1b970a101af550f37 /src/context/cdtrail_hashmap.h
parent28693db66c42bf48b9d748aba869d4fe149b6b44 (diff)
Moving to static_assert now that c++11 is available.
Diffstat (limited to 'src/context/cdtrail_hashmap.h')
-rw-r--r--src/context/cdtrail_hashmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context/cdtrail_hashmap.h b/src/context/cdtrail_hashmap.h
index 9f364eac5..0d265271d 100644
--- a/src/context/cdtrail_hashmap.h
+++ b/src/context/cdtrail_hashmap.h
@@ -44,7 +44,6 @@
#pragma once
-#include <boost/static_assert.hpp>
#include <ext/hash_map>
#include <deque>
#include <utility>
@@ -551,7 +550,7 @@ public:
};/* class CDTrailHashMap<> */
template <class Data, class HashFcn>
-class CDTrailHashMap <TNode, Data, HashFcn > : public ContextObj {
+class CDTrailHashMap<TNode, Data, HashFcn> : public ContextObj {
/* CDTrailHashMap is challenging to get working with TNode.
* Consider using CDHashMap<TNode,...> instead.
*
@@ -563,7 +562,8 @@ class CDTrailHashMap <TNode, Data, HashFcn > : public ContextObj {
* hashed. Getting the order right with a guarantee is too hard.
*/
- BOOST_STATIC_ASSERT(sizeof(Data) == 0);
+ static_assert(sizeof(Data) == 0,
+ "Cannot create a CDTrailHashMap with TNode keys");
};
}/* CVC4::context namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback