#ifndef LYX_SHARED_PTR_H
#define LYX_SHARED_PTR_H
-#include "config.h"
-
-
#ifdef LYX_USE_TR1
#include <memory>
namespace lyx
{
using std::tr1::shared_ptr;
+ using std::tr1::const_pointer_cast;
}
#else
namespace lyx
{
using boost::shared_ptr;
+ using boost::const_pointer_cast;
}
#endif