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:
rich_sposato 2012-04-02 05:49:21 +00:00
parent af6e8a72dc
commit 745e0efa2e

View file

@ -524,7 +524,9 @@ public:
{ {
assert( Check() ); assert( Check() );
if ( 0 != m_pre ) if ( 0 != m_pre )
{
assert( ( m_host->*( m_pre ) )() ); assert( ( m_host->*( m_pre ) )() );
}
} }
/** The destructor checks if any Host invariants failed, and then calls the /** The destructor checks if any Host invariants failed, and then calls the
@ -535,7 +537,9 @@ public:
{ {
assert( Check() ); assert( Check() );
if ( 0 != m_post ) if ( 0 != m_post )
{
assert( ( m_host->*( m_post ) )() ); assert( ( m_host->*( m_post ) )() );
}
assert( Ep::Check( m_host ) ); assert( Ep::Check( m_host ) );
} }