From 3c9c8262106d7ae34879c3d4153c40a521e900b4 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Fri, 3 Feb 2017 16:44:30 +0100 Subject: [PATCH] make method protected --- arangod/GeneralServer/GeneralCommTask.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arangod/GeneralServer/GeneralCommTask.h b/arangod/GeneralServer/GeneralCommTask.h index 44af93e10f..09226aa2ed 100644 --- a/arangod/GeneralServer/GeneralCommTask.h +++ b/arangod/GeneralServer/GeneralCommTask.h @@ -91,8 +91,6 @@ class GeneralCommTask : public SocketTask { virtual arangodb::Endpoint::TransportType transportType() = 0; - void setStatistics(uint64_t, RequestStatistics*); - protected: virtual std::unique_ptr createResponse( rest::ResponseCode, uint64_t messageId) = 0; @@ -111,6 +109,7 @@ class GeneralCommTask : public SocketTask { std::string const& errorMessage, uint64_t messageId) = 0; + void setStatistics(uint64_t, RequestStatistics*); RequestStatistics* acquireStatistics(uint64_t); RequestStatistics* statistics(uint64_t); RequestStatistics* stealStatistics(uint64_t);