mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54463 954022d7-b5bf-4e40-9824-e11837661b57
19 lines
285 B
C++
19 lines
285 B
C++
#ifndef _CPDOCCORE_SCOPED_PTR_H_
|
|
#define _CPDOCCORE_SCOPED_PTR_H_
|
|
|
|
#include <boost/scoped_ptr.hpp>
|
|
|
|
namespace cpdoccore {
|
|
|
|
template <class T>
|
|
struct scoped_ptr
|
|
{
|
|
typedef ::boost::scoped_ptr<T> Type;
|
|
};
|
|
|
|
#define _CP_SCOPED_PTR(T) scoped_ptr< T >::Type
|
|
|
|
}
|
|
|
|
#endif
|