From b7b6eb367d83628bcb63fbb4b19e3ad8868c2113 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Wed, 30 Apr 2014 12:04:23 -0400 Subject: [PATCH] videocontrols: return unnamed variables Change-Id: Ib2f1f9db3a03e6947abb2bb56a25362c0b1256a4 --- daemon/src/client/videocontrols_stub.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/daemon/src/client/videocontrols_stub.cpp b/daemon/src/client/videocontrols_stub.cpp index b587078782..62b0fa3b3a 100644 --- a/daemon/src/client/videocontrols_stub.cpp +++ b/daemon/src/client/videocontrols_stub.cpp @@ -54,8 +54,7 @@ void VideoControls::stoppedDecoding(const std::string &id, const std::string) std::map<std::string, std::string> VideoControls::getSettings() { - std::map<std::string, std::string> stub; - return stub; + return std::map<std::string, std::string>(); } bool VideoControls::hasCameraStarted() @@ -73,6 +72,5 @@ void VideoControls::stopCamera() std::weak_ptr<sfl_video::VideoFrameActiveWriter> VideoControls::getVideoCamera() { - std::weak_ptr<sfl_video::VideoFrameActiveWriter> stub; - return stub; + return std::weak_ptr<sfl_video::VideoFrameActiveWriter>(); } -- GitLab