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@581 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
970b9b6b7b
commit
3c0bb8e16e
8 changed files with 79 additions and 82 deletions
|
|
@ -50,7 +50,7 @@ namespace detail
|
|||
|
||||
void calls( const functor_type& f )
|
||||
{
|
||||
if( !f )
|
||||
if( ! f )
|
||||
throw std::invalid_argument( "null functor" );
|
||||
f_ = f;
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ namespace detail
|
|||
|
||||
void calls( const functor_type& f )
|
||||
{
|
||||
if( !f )
|
||||
if( ! f )
|
||||
throw std::invalid_argument( "null functor" );
|
||||
f_ = f;
|
||||
}
|
||||
|
|
@ -127,7 +127,7 @@ namespace detail
|
|||
|
||||
void calls( const functor_type& f )
|
||||
{
|
||||
if( !f )
|
||||
if( ! f )
|
||||
throw std::invalid_argument( "null functor" );
|
||||
f_ = f;
|
||||
}
|
||||
|
|
@ -173,7 +173,7 @@ namespace detail
|
|||
|
||||
void calls( const functor_type& f )
|
||||
{
|
||||
if( !f )
|
||||
if( ! f )
|
||||
throw std::invalid_argument( "null functor" );
|
||||
f_ = f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue