Merge pull request #152 from pmconrad/1952_fix_assert
Possible fix for core #1952
This commit is contained in:
commit
7a4758671f
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ namespace fc
|
|||
{
|
||||
void throw_assertion_failure( const std::string& message );
|
||||
}
|
||||
#define _FC_ASSERT( cond, msg ) { if( !(cond) ) { fc::throw_assertion_failure( #cond ": " msg ); } }
|
||||
#define _FC_ASSERT( cond, msg ) { if( !(cond) ) { char t[] = #cond ": " msg; fc::throw_assertion_failure( t ); } }
|
||||
#endif
|
||||
|
||||
namespace fc
|
||||
|
|
|
|||
Loading…
Reference in a new issue