]> git.lyx.org Git - lyx.git/blob - src/support/shared_ptr.h
GuiBox.cpp: fix #6721
[lyx.git] / src / support / shared_ptr.h
1 // -*- C++ -*-
2 /**
3  * \file shared_ptr.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Peter Kümmel
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_SHARED_PTR_H
13 #define LYX_SHARED_PTR_H
14
15 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
16
17 #include <memory>
18
19 namespace lyx
20 {
21         using std::tr1::shared_ptr;
22 }
23
24 #else
25
26 #include <boost/shared_ptr.hpp>
27
28 namespace lyx
29 {
30         using boost::shared_ptr;
31 }
32
33 #endif
34
35
36 #endif