summaryrefslogtreecommitdiffstats
path: root/src/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/ConnectionManager.h2
-rw-r--r--src/Core/Requests/DaemonStatusRequest.cpp1
-rw-r--r--src/Core/Requests/DaemonStatusRequest.h8
3 files changed, 2 insertions, 9 deletions
diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h
index 0832b5a..9b8615c 100644
--- a/src/Core/ConnectionManager.h
+++ b/src/Core/ConnectionManager.h
@@ -75,7 +75,7 @@ class ConnectionManager {
connectionManager = std::auto_ptr<ConnectionManager>(new ConnectionManager());
}
- virtual ~ConnectionManager();
+ ~ConnectionManager();
bool wait(int timeout) {
return (poll(pollfds.data(), pollfds.size(), timeout) > 0);
diff --git a/src/Core/Requests/DaemonStatusRequest.cpp b/src/Core/Requests/DaemonStatusRequest.cpp
index 1741731..3b028c9 100644
--- a/src/Core/Requests/DaemonStatusRequest.cpp
+++ b/src/Core/Requests/DaemonStatusRequest.cpp
@@ -19,7 +19,6 @@
#include "DaemonStatusRequest.h"
#include <Common/RequestManager.h>
-#include <Net/Packets/HostStatusPacket.h>
namespace Mad {
namespace Core {
diff --git a/src/Core/Requests/DaemonStatusRequest.h b/src/Core/Requests/DaemonStatusRequest.h
index baeb847..09cbc2b 100644
--- a/src/Core/Requests/DaemonStatusRequest.h
+++ b/src/Core/Requests/DaemonStatusRequest.h
@@ -21,15 +21,9 @@
#define MAD_CORE_REQUESTS_DAEMONSTATUSREQUEST_H_
#include <Common/Request.h>
+#include <Net/Packets/HostStatusPacket.h>
namespace Mad {
-
-namespace Net {
-namespace Packets {
-class HostStatusPacket;
-}
-}
-
namespace Core {
namespace Requests {