|
From: <ric...@us...> - 2012-04-02 05:49:27
|
Revision: 1178
http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1178&view=rev
Author: rich_sposato
Date: 2012-04-02 05:49:21 +0000 (Mon, 02 Apr 2012)
Log Message:
-----------
Put braces around assert statement.
Modified Paths:
--------------
trunk/include/loki/Checker.h
Modified: trunk/include/loki/Checker.h
===================================================================
--- trunk/include/loki/Checker.h 2011-11-07 23:56:57 UTC (rev 1177)
+++ trunk/include/loki/Checker.h 2012-04-02 05:49:21 UTC (rev 1178)
@@ -524,7 +524,9 @@
{
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 @@
{
assert( Check() );
if ( 0 != m_post )
+ {
assert( ( m_host->*( m_post ) )() );
+ }
assert( Ep::Check( m_host ) );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|