Module: check_mk
Branch: master
Commit: 319a81193858ab41e5e0ae76d31deeba2548f294
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=319a81193858ab…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Sep 3 09:54:06 2018 +0200
Make IWYU happy again.
Change-Id: Ib27033ecdd6ef2f254e6744b5ebf84141157e9dc
---
livestatus/src/Logfile.cc | 5 +----
livestatus/src/Logfile.h | 1 -
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/livestatus/src/Logfile.cc b/livestatus/src/Logfile.cc
index f66efb1..e96fcae 100644
--- a/livestatus/src/Logfile.cc
+++ b/livestatus/src/Logfile.cc
@@ -29,6 +29,7 @@
#include <cstdlib>
#include <sstream>
#include <utility>
+#include <vector>
#include "LogCache.h"
#include "LogEntry.h"
#include "Logger.h"
@@ -37,11 +38,7 @@
#include "Row.h"
#ifdef CMC
-#include <new>
#include "cmc.h"
-#else
-#include <memory>
-#include <vector>
#endif
namespace {
diff --git a/livestatus/src/Logfile.h b/livestatus/src/Logfile.h
index 4a97391..5f07068 100644
--- a/livestatus/src/Logfile.h
+++ b/livestatus/src/Logfile.h
@@ -40,7 +40,6 @@ class MonitoringCore;
class Query;
#ifdef CMC
-#include <vector>
class World;
#endif