lyx_mirror/src/support/shared_ptr.h
Peter Kümmel 5b916eb7c5 don't pollute the global namespace, move bind and shared_ptr into the lyx scope.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34264 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-22 15:56:20 +00:00

37 lines
509 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
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#include <memory>
namespace lyx
{
using std::tr1::shared_ptr;
}
#else
#include <boost/shared_ptr.hpp>
namespace lyx
{
using boost::shared_ptr;
}
#endif
#endif