Put braces around assert statement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1178 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
af6e8a72dc
commit
745e0efa2e
1 changed files with 4 additions and 0 deletions
|
@ -524,7 +524,9 @@ public:
|
|||
{
|
||||
assert( Check() );
|
||||
if ( 0 != m_pre )
|
||||
{
|
||||
assert( ( m_host->*( m_pre ) )() );
|
||||
}
|
||||
}
|
||||
|
||||
/** The destructor checks if any Host invariants failed, and then calls the
|
||||
|
@ -535,7 +537,9 @@ public:
|
|||
{
|
||||
assert( Check() );
|
||||
if ( 0 != m_post )
|
||||
{
|
||||
assert( ( m_host->*( m_post ) )() );
|
||||
}
|
||||
assert( Ep::Check( m_host ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue