aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/symbol-table.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-26 17:53:17 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-26 17:53:17 +0200
commit54a34119f349d531557af9e90d21d04d689ee817 (patch)
tree2c3d392d1db4c6e420f5473b3eaab16b9822fbd4 /src/libexpr/symbol-table.hh
parenta457d5ad4d7f6cd4f817581de1b4f70cdad9c617 (diff)
Use std::unordered_set
Diffstat (limited to 'src/libexpr/symbol-table.hh')
-rw-r--r--src/libexpr/symbol-table.hh11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/libexpr/symbol-table.hh b/src/libexpr/symbol-table.hh
index 08e31d496..140662b51 100644
--- a/src/libexpr/symbol-table.hh
+++ b/src/libexpr/symbol-table.hh
@@ -3,10 +3,7 @@
#include "config.h"
#include <map>
-
-#if HAVE_TR1_UNORDERED_SET
-#include <tr1/unordered_set>
-#endif
+#include <unordered_set>
#include "types.hh"
@@ -70,11 +67,7 @@ inline std::ostream & operator << (std::ostream & str, const Symbol & sym)
class SymbolTable
{
private:
-#if HAVE_TR1_UNORDERED_SET
- typedef std::tr1::unordered_set<string> Symbols;
-#else
- typedef std::set<string> Symbols;
-#endif
+ typedef std::unordered_set<string> Symbols;
Symbols symbols;
public: