summaryrefslogtreecommitdiffstats
path: root/src/Server/Requests
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/Requests')
-rw-r--r--src/Server/Requests/CommandRequest.h2
-rw-r--r--src/Server/Requests/DaemonStateUpdateRequest.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Server/Requests/CommandRequest.h b/src/Server/Requests/CommandRequest.h
index 8221b14..3b2dcdd 100644
--- a/src/Server/Requests/CommandRequest.h
+++ b/src/Server/Requests/CommandRequest.h
@@ -34,7 +34,7 @@ class CommandRequest : public Common::Request {
virtual void sendRequest();
public:
- CommandRequest(bool reboot0) : reboot(reboot0) {}
+ CommandRequest(Common::Application *application, bool reboot0) : Common::Request(application), reboot(reboot0) {}
};
}
diff --git a/src/Server/Requests/DaemonStateUpdateRequest.h b/src/Server/Requests/DaemonStateUpdateRequest.h
index c3ed792..762514a 100644
--- a/src/Server/Requests/DaemonStateUpdateRequest.h
+++ b/src/Server/Requests/DaemonStateUpdateRequest.h
@@ -36,8 +36,8 @@ class DaemonStateUpdateRequest : public Common::Request {
virtual void sendRequest();
public:
- DaemonStateUpdateRequest(const std::string &name0, Common::HostInfo::State state0)
- : name(name0), state(state0) {}
+ DaemonStateUpdateRequest(Common::Application *application, const std::string &name0, Common::HostInfo::State state0)
+ : Common::Request(application), name(name0), state(state0) {}
};
}