Support for (std|boost)::make_shared

This commit is contained in:
Guillaume Munch 2015-09-01 17:47:01 +01:00
parent 65a95620b2
commit 12de677fcc

View 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;
}