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

This commit is contained in:
Tristan Matthews
2013-06-27 15:53:59 -04:00
parent c5ed959a0d
commit 53b2393f28

View File

@ -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());
}