]> git.lyx.org Git - features.git/commitdiff
Support for (std|boost)::make_shared
authorGuillaume Munch <gm@lyx.org>
Tue, 1 Sep 2015 16:47:01 +0000 (17:47 +0100)
committerGuillaume Munch <gm@lyx.org>
Tue, 15 Sep 2015 14:25:32 +0000 (15:25 +0100)
src/support/shared_ptr.h

index d011597a39b5823dfdf396beda80a204f9acf7da..bb613de5639f7cf96a0408c05ba75ffd52275fc3 100644 (file)
@@ -20,6 +20,7 @@
 #else
 
 #include <boost/shared_ptr.hpp>
+#include <boost/make_shared.hpp>
 #define LYX_SHAREDPTR_NS boost
 
 #endif
@@ -27,6 +28,7 @@
 namespace lyx
 {
        using LYX_SHAREDPTR_NS::shared_ptr;
+       using LYX_SHAREDPTR_NS::make_shared;
        using LYX_SHAREDPTR_NS::const_pointer_cast;
 }