comparison 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
comparison
equal deleted inserted replaced
1464:91bb68146dfc 1465:cee1be4fb8c1
51 if (path.isEmpty()) { 51 if (path.isEmpty()) {
52 try { 52 try {
53 QDir dir(TempDirectory::getInstance()->getPath()); 53 QDir dir(TempDirectory::getInstance()->getPath());
54 path = dir.filePath(QString("written_%1.wav") 54 path = dir.filePath(QString("written_%1.wav")
55 .arg((intptr_t)this)); 55 .arg((intptr_t)this));
56 } catch (DirectoryCreationFailed f) { 56 } catch (const DirectoryCreationFailed &f) {
57 SVCERR << "WritableWaveFileModel: Failed to create temporary directory" << endl; 57 SVCERR << "WritableWaveFileModel: Failed to create temporary directory" << endl;
58 return; 58 return;
59 } 59 }
60 } 60 }
61 61