From 54a34119f349d531557af9e90d21d04d689ee817 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 26 May 2014 17:53:17 +0200 Subject: Use std::unordered_set --- src/libexpr/symbol-table.hh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/libexpr') diff --git a/src/libexpr/symbol-table.hh b/src/libexpr/symbol-table.hh index 08e31d496585..140662b51501 100644 --- a/src/libexpr/symbol-table.hh +++ b/src/libexpr/symbol-table.hh @@ -3,10 +3,7 @@ #include "config.h" #include - -#if HAVE_TR1_UNORDERED_SET -#include -#endif +#include #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 Symbols; -#else - typedef std::set Symbols; -#endif + typedef std::unordered_set Symbols; Symbols symbols; public: -- cgit 1.4.1