Code

Replace std::tr1::unordered_(map|set) with __gnu_cxx::hash_(map|set),
[inkscape.git] / src / util / hash.h
index d5abeff5a7bdc11ca08fde6d1aa967498e0dbfeb..33af9222da0e0e6f1d7b5c2a7e09d76e08dfe3db 100644 (file)
@@ -13,8 +13,7 @@
 
 #include <boost/shared_ptr.hpp>
 
-namespace std {
-namespace tr1 {
+namespace __gnu_cxx {
 
 /** Hash function for Boost shared pointers */
 template <typename T>
@@ -24,8 +23,7 @@ struct hash< boost::shared_ptr<T> > : public std::unary_function<boost::shared_p
     }
 };
 
-} // namespace tr1
-} // namespace std
+} // namespace __gnu_cxx
 
 #endif