Fix assertion with side-effects in libsnark/common/profiling.cpp
This commit is contained in:
parent
45922222ac
commit
6d40dee1d5
|
@ -282,7 +282,8 @@ void leave_block(const std::string &msg, const bool indent)
|
|||
}
|
||||
|
||||
#ifndef MULTICORE
|
||||
assert(*(--block_names.end()) == msg);
|
||||
--block_names.end();
|
||||
assert(*(block_names.end()) == msg);
|
||||
#endif
|
||||
block_names.pop_back();
|
||||
|
||||
|
|
Loading…
Reference in New Issue