mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 22:02:24 +00:00
807fc1443a
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34600 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
554 B
C++
44 lines
554 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file shared_ptr.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Peter Kümmel
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef LYX_SHARED_PTR_H
|
|
#define LYX_SHARED_PTR_H
|
|
|
|
#include "checktr1.h"
|
|
|
|
|
|
#ifdef LYX_USE_TR1
|
|
|
|
#include <memory>
|
|
|
|
#ifdef __GNUC__
|
|
#include <tr1/memory>
|
|
#endif
|
|
|
|
namespace lyx
|
|
{
|
|
using std::tr1::shared_ptr;
|
|
}
|
|
|
|
#else
|
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
namespace lyx
|
|
{
|
|
using boost::shared_ptr;
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
#endif
|