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

FIX WOLF_DEBUG_COND to compile as RELEASE

parent 4b4848db
No related branches found
No related tags found
1 merge request!208Vision utils
Pipeline #
...@@ -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