Mercurial > hg > svcore
diff data/model/WritableWaveFileModel.cpp @ 1465:cee1be4fb8c1
Fix some compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 15 May 2018 11:03:49 +0100 |
parents | 48e9f538e6e9 |
children | 925d205c39b4 |
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp Fri May 11 14:11:04 2018 +0100 +++ b/data/model/WritableWaveFileModel.cpp Tue May 15 11:03:49 2018 +0100 @@ -53,7 +53,7 @@ QDir dir(TempDirectory::getInstance()->getPath()); path = dir.filePath(QString("written_%1.wav") .arg((intptr_t)this)); - } catch (DirectoryCreationFailed f) { + } catch (const DirectoryCreationFailed &f) { SVCERR << "WritableWaveFileModel: Failed to create temporary directory" << endl; return; }