From 745e0efa2e1216a4ef25129ebe1dbffcf218d412 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Mon, 2 Apr 2012 05:49:21 +0000 Subject: [PATCH] Put braces around assert statement. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1178 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/Checker.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/loki/Checker.h b/include/loki/Checker.h index 1d9c5b0..c88966f 100644 --- a/include/loki/Checker.h +++ b/include/loki/Checker.h @@ -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 ) ); }