]> git.lyx.org Git - lyx.git/blobdiff - src/support/shared_ptr.h
* layouttranslations.review - remove dupes
[lyx.git] / src / support / shared_ptr.h
index 6e4dbe6e6bb9d4e86c20fb4b4508300e4bb0a30b..69e42da23c216a96732d2a57c52772fee520df2e 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef LYX_SHARED_PTR_H
 #define LYX_SHARED_PTR_H
 
-#include "config.h"
-
-
 #ifdef LYX_USE_TR1
 
 #include <memory>
@@ -26,6 +23,7 @@
 namespace lyx
 {
        using std::tr1::shared_ptr;
+       using std::tr1::const_pointer_cast;
 }
 
 #else
@@ -35,6 +33,7 @@ namespace lyx
 namespace lyx
 {
        using boost::shared_ptr;
+       using boost::const_pointer_cast;
 }
 
 #endif