Code

Go back to using TR1 unordered containers to fix warnings. Add configure
[inkscape.git] / src / util / hash.h
index 33af9222da0e0e6f1d7b5c2a7e09d76e08dfe3db..d5abeff5a7bdc11ca08fde6d1aa967498e0dbfeb 100644 (file)
@@ -13,7 +13,8 @@
 
 #include <boost/shared_ptr.hpp>
 
-namespace __gnu_cxx {
+namespace std {
+namespace tr1 {
 
 /** Hash function for Boost shared pointers */
 template <typename T>
@@ -23,7 +24,8 @@ struct hash< boost::shared_ptr<T> > : public std::unary_function<boost::shared_p
     }
 };
 
-} // namespace __gnu_cxx
+} // namespace tr1
+} // namespace std
 
 #endif