mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@9 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
381430bafd
commit
f2f1125a1a
1 changed files with 3 additions and 3 deletions
|
|
@ -52,9 +52,9 @@ namespace detail
|
||||||
std::invalid_argument( "invalid functor" );
|
std::invalid_argument( "invalid functor" );
|
||||||
}
|
}
|
||||||
template< typename Constraint >
|
template< typename Constraint >
|
||||||
explicit check( const placeholder< Constraint >& c )
|
explicit check( const placeholder< Constraint >& p )
|
||||||
: functor_( c.functor_ )
|
: functor_( p.functor_ )
|
||||||
, desc_ ( c.desc_ )
|
, desc_ ( p.desc_ )
|
||||||
{
|
{
|
||||||
if( !functor_ )
|
if( !functor_ )
|
||||||
std::invalid_argument( "invalid functor" );
|
std::invalid_argument( "invalid functor" );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue