mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Support for (std|boost)::make_shared
This commit is contained in:
parent
65a95620b2
commit
12de677fcc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user