From 0851aadad77fa763c79bc216d3d958d2bdbed59d Mon Sep 17 00:00:00 2001 From: badaix Date: Thu, 4 Jul 2024 22:23:32 +0200 Subject: [PATCH] Fix compile error --- server/control_requests.cpp | 2 +- server/control_requests.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/control_requests.cpp b/server/control_requests.cpp index 6601ea75..218e5eb9 100644 --- a/server/control_requests.cpp +++ b/server/control_requests.cpp @@ -53,7 +53,7 @@ const StreamServer& Request::getStreamServer() const return *server_.streamServer_; } -const StreamManager& Request::getStreamManager() const +StreamManager& Request::getStreamManager() const { return *server_.streamManager_; } diff --git a/server/control_requests.hpp b/server/control_requests.hpp index 570cd9ef..f68fc2f4 100644 --- a/server/control_requests.hpp +++ b/server/control_requests.hpp @@ -64,7 +64,7 @@ class Request /// @return the server's stream server const StreamServer& getStreamServer() const; /// @return the server's stream manager - const StreamManager& getStreamManager() const; + StreamManager& getStreamManager() const; /// @return server settings const ServerSettings& getSettings() const;