diff data/fileio/CodedAudioFileReader.cpp @ 1465:cee1be4fb8c1

Fix some compiler warnings
author Chris Cannam
date Tue, 15 May 2018 11:03:49 +0100
parents edee37ae5882
children 70e172e6cc59
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp	Fri May 11 14:11:04 2018 +0100
+++ b/data/fileio/CodedAudioFileReader.cpp	Tue May 15 11:03:49 2018 +0100
@@ -228,7 +228,7 @@
                 m_cacheMode = CacheInMemory;
             }
 
-        } catch (DirectoryCreationFailed f) {
+        } catch (const DirectoryCreationFailed &f) {
             SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: failed to create temporary directory! Falling back to in-memory cache" << endl;
             m_cacheMode = CacheInMemory;
         }