mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
54c08c53a6
commit
5711c04ef8
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue