From cec69db7247c5f2a0870a667aea62481b96042b8 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Thu, 19 Sep 2013 18:01:43 -0400 Subject: [PATCH] video_mixer: pass string by reference --- daemon/src/video/video_mixer.cpp | 2 +- daemon/src/video/video_mixer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/src/video/video_mixer.cpp b/daemon/src/video/video_mixer.cpp index afeb500874..f1f15ee7db 100644 --- a/daemon/src/video/video_mixer.cpp +++ b/daemon/src/video/video_mixer.cpp @@ -40,7 +40,7 @@ namespace sfl_video { -VideoMixer::VideoMixer(const std::string id) : +VideoMixer::VideoMixer(const std::string &id) : VideoGenerator::VideoGenerator() , id_(id) , width_(0) diff --git a/daemon/src/video/video_mixer.h b/daemon/src/video/video_mixer.h index cefc76de07..c7679ccdbd 100644 --- a/daemon/src/video/video_mixer.h +++ b/daemon/src/video/video_mixer.h @@ -49,7 +49,7 @@ class VideoMixer : public VideoFramePassiveReader { public: - VideoMixer(const std::string id_); + VideoMixer(const std::string &id); virtual ~VideoMixer(); void setDimensions(int width, int height); -- GitLab