git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@508 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-07-22 07:12:27 +00:00
parent d8dafff661
commit 791f59c0cd
6 changed files with 18 additions and 18 deletions

View file

@ -33,7 +33,7 @@ namespace detail
boost::unit_test::const_string name )
{
if( children_.empty() )
mock::detail::root.add( *this );
detail::root.add( *this );
children_[ &v ].update( parent_, instance, type, name );
}
virtual void add( verifiable& v )
@ -45,7 +45,7 @@ namespace detail
group_.remove( v );
children_.erase( &v );
if( children_.empty() )
mock::detail::root.remove( *this );
detail::root.remove( *this );
}
virtual void serialize( std::ostream& s, const verifiable& v ) const