Skip to content
Snippets Groups Projects
Commit 37127cf4 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

FIX WOLF_DEBUG_COND to compile as RELEASE

parent d7e1afcd
No related branches found
No related tags found
No related merge requests found
...@@ -55,9 +55,7 @@ void SolverManager::update() ...@@ -55,9 +55,7 @@ void SolverManager::update()
} }
case StateBlock::Notification::STATE_UPDATE: case StateBlock::Notification::STATE_UPDATE:
{ {
const bool registered = state_blocks_.find(state)!=state_blocks_.end(); WOLF_DEBUG_COND(state_blocks_.find(state)==state_blocks_.end(),
WOLF_DEBUG_COND(!registered,
"Updating the state of an unregistered StateBlock !"); "Updating the state of an unregistered StateBlock !");
// This will throw if StateBlock wasn't registered // This will throw if StateBlock wasn't registered
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment