From 53b2393f28b125c4abb898d032a3faae3771b1bb Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Thu, 27 Jun 2013 15:53:59 -0400 Subject: [PATCH] manager: no need to call .get() on shared_ptr --- daemon/src/managerimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp index 96e211df48..cd1b52aa9b 100644 --- a/daemon/src/managerimpl.cpp +++ b/daemon/src/managerimpl.cpp @@ -2127,7 +2127,7 @@ bool ManagerImpl::startRecordedFilePlayback(const std::string& filepath) try { audiofile_.reset(new WaveFile(filepath, sampleRate)); - audiofile_.get()->setIsRecording(true); + audiofile_->setIsRecording(true); } catch (const AudioFileException &e) { ERROR("Exception: %s", e.what()); } -- GitLab