]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/Effect.hxx
Merge branch 'zan/stencil'
[simgear.git] / simgear / scene / material / Effect.hxx
index db5d2b01c06533f0af4de6a3bf3510f76ea6af12..1f33b9e86d61209f7a0b1f6cb5c4a08b7aa64446 100644 (file)
@@ -19,8 +19,9 @@
 
 #include <vector>
 #include <string>
+#include <boost/tr1/unordered_map.hpp>
 
-#include <boost/unordered_map.hpp>
+#include <boost/functional/hash.hpp>
 
 #include <osg/Object>
 #include <osgDB/ReaderWriter>
@@ -132,8 +133,8 @@ protected:
             bool operator()(const Key& lhs, const Key& rhs) const;
         };
     };
-    typedef boost::unordered_map<Key, osg::ref_ptr<Effect>, boost::hash<Key>,
-                                 Key::EqualTo> Cache;
+    typedef std::tr1::unordered_map<Key, osg::ref_ptr<Effect>,
+                                    boost::hash<Key>, Key::EqualTo> Cache;
     Cache* getCache()
     {
         if (!_cache)