Commit 64cb3c12 authored by Pavel Vainerman's avatar Pavel Vainerman

minor optimization

parent 87978713
...@@ -683,6 +683,9 @@ void SharedMemory::saveHistory() ...@@ -683,6 +683,9 @@ void SharedMemory::saveHistory()
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void SharedMemory::updateHistory( UniSetTypes::SensorMessage* sm ) void SharedMemory::updateHistory( UniSetTypes::SensorMessage* sm )
{ {
if( hist.empty() )
return;
if( dlog.debugging(Debug::INFO) ) if( dlog.debugging(Debug::INFO) )
{ {
dlog[Debug::INFO] << myname << "(updateHistory): " dlog[Debug::INFO] << myname << "(updateHistory): "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment