Skip to content
Snippets Groups Projects
Commit d8291492 authored by Rainer Kartmann's avatar Rainer Kartmann Committed by ARMAR-7a
Browse files

Modernize

parent 8cbc018a
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ namespace armarx
ControlThreadOutputBuffer::forEachNewLoggingEntry(ConsumerFunctor consumer)
{
ARMARX_TRACE;
ARMARX_CHECK_EXPRESSION(isInitialized);
ARMARX_CHECK(isInitialized);
ARMARX_VERBOSE << VAROUT(entries.size());
const size_t writePosition_local = writePosition.load(); // copy to prevent external changes
if (writePosition_local - onePastLoggingReadPosition >= numEntries)
......
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