Module: check_mk
Branch: master
Commit: c48840b7d3da07d713f892ff25fcf676185b143c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c48840b7d3da07…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Aug 7 11:42:52 2017 +0200
Tiny simplification.
Change-Id: I14cd465bee24db3e029d2bd7430d6171ee81b1f5
---
livestatus/src/Logfile.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livestatus/src/Logfile.cc b/livestatus/src/Logfile.cc
index 83b59d6..70a38b4 100644
--- a/livestatus/src/Logfile.cc
+++ b/livestatus/src/Logfile.cc
@@ -209,7 +209,7 @@ bool Logfile::processLogLine(uint32_t lineno, string line,
<< entry->_complete;
return false;
}
- _entries.emplace(key, entry.release());
+ _entries[key] = std::move(entry);
return true;
}