Skip to content
Snippets Groups Projects
Commit 53b2393f authored by Tristan Matthews's avatar Tristan Matthews
Browse files

manager: no need to call .get() on shared_ptr

parent c5ed959a
Branches
Tags
No related merge requests found
...@@ -2127,7 +2127,7 @@ bool ManagerImpl::startRecordedFilePlayback(const std::string& filepath) ...@@ -2127,7 +2127,7 @@ bool ManagerImpl::startRecordedFilePlayback(const std::string& filepath)
try { try {
audiofile_.reset(new WaveFile(filepath, sampleRate)); audiofile_.reset(new WaveFile(filepath, sampleRate));
audiofile_.get()->setIsRecording(true); audiofile_->setIsRecording(true);
} catch (const AudioFileException &e) { } catch (const AudioFileException &e) {
ERROR("Exception: %s", e.what()); ERROR("Exception: %s", e.what());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment