Commit b7b6eb36 authored by Tristan Matthews's avatar Tristan Matthews

videocontrols: return unnamed variables

Change-Id: Ib2f1f9db3a03e6947abb2bb56a25362c0b1256a4
parent c54c38d8
......@@ -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>();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment