mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Cleanup
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@510 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
4648c72422
commit
7ed1b9ed51
1 changed files with 4 additions and 4 deletions
|
|
@ -63,13 +63,13 @@ namespace conversion
|
|||
const T* t_;
|
||||
};
|
||||
|
||||
struct data
|
||||
struct any
|
||||
{
|
||||
template< typename T >
|
||||
data( const T& t )
|
||||
any( const T& t )
|
||||
: h_( new holder_imp< T >( t ) )
|
||||
{}
|
||||
~data()
|
||||
~any()
|
||||
{
|
||||
delete h_;
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ namespace conversion
|
|||
}
|
||||
}
|
||||
|
||||
inline stream& operator<<( stream& s, const detail::conversion::data& d )
|
||||
inline stream& operator<<( stream& s, const detail::conversion::any& d )
|
||||
{
|
||||
d.h_->serialize( *s.s_ );
|
||||
return s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue