Mercurial > hg > svapp
changeset 598:7da68349a0c5
Fix compiler warning
author | Chris Cannam |
---|---|
date | Tue, 15 May 2018 11:11:49 +0100 |
parents | f03bc1d38cac |
children | a558a3fb44fc ca96a514fbbb |
files | audio/AudioGenerator.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audio/AudioGenerator.cpp Thu Apr 19 13:17:42 2018 +0100 +++ b/audio/AudioGenerator.cpp Tue May 15 11:11:49 2018 +0100 @@ -81,7 +81,7 @@ try { m_sampleDir = TempDirectory::getInstance()->getSubDirectoryPath("samples"); - } catch (DirectoryCreationFailed f) { + } catch (const DirectoryCreationFailed &f) { cerr << "WARNING: AudioGenerator::initialiseSampleDir:" << " Failed to create temporary sample directory" << endl;