File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ endif()
1717
1818# Define project
1919project (Monitoring
20- VERSION 3.8.4
20+ VERSION 3.8.5
2121 DESCRIPTION "O2 Monitoring library"
2222 LANGUAGES CXX
2323)
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ void Monitoring::flushBuffer()
6363 for (auto & backend : mBackends ) {
6464 if (matchVerbosity (backend->getVerbosity (), static_cast <Verbosity>(verbosity))) {
6565 backend->send (std::move (buffer));
66- buffer.clear ();
6766 }
6867 }
68+ buffer.clear ();
6969 }
7070}
7171
@@ -74,9 +74,9 @@ void Monitoring::flushBuffer(const short index)
7474 for (auto & backend : mBackends ) {
7575 if (matchVerbosity (backend->getVerbosity (), static_cast <Verbosity>(index))) {
7676 backend->send (std::move (mStorage [index]));
77- mStorage [index].clear ();
7877 }
7978 }
79+ mStorage [index].clear ();
8080}
8181
8282void Monitoring::enableProcessMonitoring (const unsigned int interval)
You can’t perform that action at this time.
0 commit comments