Fixed build

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@637 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-05-03 20:51:14 +00:00
parent 54c08c53a6
commit 5711c04ef8

View file

@ -41,7 +41,7 @@ namespace conversion
return s << '?'; return s << '?';
} }
struct holder struct holder : boost::noncopyable
{ {
virtual ~holder() virtual ~holder()
{} {}
@ -64,11 +64,11 @@ namespace conversion
const T* t_; const T* t_;
}; };
struct any struct any : boost::noncopyable
{ {
template< typename T > template< typename T >
any( const T& t ) any( const T& t )
: h_( boost::make_shared< holder_imp< T > >( t ) ) : h_( new holder_imp< T >( t ) )
{} {}
~any() ~any()
{ {