Skip to content

Commit

Permalink
Unbreak compilation (in metaSMT configuration) by preventing the #define
Browse files Browse the repository at this point in the history
unordered_map and unordered_set from leaking out into other compilation
units. This should be removed entirely when C++11 support lands.
  • Loading branch information
hpalikareva authored and Dan Liew committed Dec 2, 2014
1 parent 46abe43 commit d0f8c9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/klee/util/ArrayExprHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,7 @@ void ArrayExprHash<T>::hashUpdateNodeExpr(const UpdateNode* un, T& exp)

}

#undef unordered_map
#undef unordered_set

#endif
3 changes: 3 additions & 0 deletions include/klee/util/ExprHashMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@ namespace klee {

}

#undef unordered_map
#undef unordered_set

#endif

0 comments on commit d0f8c9e

Please sign in to comment.