From 4a81dbb6fc9b49069a30a4d4979b3c87ebbbecd3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 9 Dec 2014 15:07:49 +0100 Subject: [PATCH] Build fix for Windows --- lib/remote/apiclient-heartbeat.cpp | 2 ++ lib/remote/apiclient.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/remote/apiclient-heartbeat.cpp b/lib/remote/apiclient-heartbeat.cpp index 28fc85091..427a0a19c 100644 --- a/lib/remote/apiclient-heartbeat.cpp +++ b/lib/remote/apiclient-heartbeat.cpp @@ -69,5 +69,7 @@ Value ApiClient::HeartbeatAPIHandler(const MessageOrigin& origin, const Dictiona if (!vtimeout.IsEmpty()) origin.FromClient->m_NextHeartbeat = Utility::GetTime() + vtimeout; + + return Empty; } diff --git a/lib/remote/apiclient.hpp b/lib/remote/apiclient.hpp index 5c7bb0600..8c7006404 100644 --- a/lib/remote/apiclient.hpp +++ b/lib/remote/apiclient.hpp @@ -35,7 +35,7 @@ enum ClientRole ClientOutbound }; -class MessageOrigin; +struct MessageOrigin; /** * An API client connection.