summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-01-20 19:31:57 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-01-20 19:31:57 +0000
commit906f78949458732f138e4e2b79843c75e9d52f87 (patch)
tree2643ad24eb96a1999f29c7eb606992b4ffcc93eb /src/util
parentMake Ctrl+Alt+click delete nodes. (diff)
downloadinkscape-906f78949458732f138e4e2b79843c75e9d52f87.tar.gz
inkscape-906f78949458732f138e4e2b79843c75e9d52f87.zip
Go back to using TR1 unordered containers to fix warnings. Add configure
code to detect the broken header and display Wiki page URL. (bzr r9006)
Diffstat (limited to 'src/util')
-rw-r--r--src/util/hash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/hash.h b/src/util/hash.h
index 33af9222d..d5abeff5a 100644
--- a/src/util/hash.h
+++ b/src/util/hash.h
@@ -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