Use workaround for GCC Bug 66145

This commit is contained in:
Martchus 2016-06-14 22:56:03 +02:00
parent 0743d4f764
commit df988ab6a6
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#include "playerwatcher.h"
#include <c++utilities/io/inifile.h>
#include <c++utilities/io/catchiofailure.h>
#include <c++utilities/conversion/stringconversion.h>
#include <QStringBuilder>
@ -148,7 +149,8 @@ void FfmpegLauncher::nextSong()
cerr << "Warning: Ignoring unknown section [" << scope.first << "] in info.ini." << endl;
}
}
} catch(const ios_base::failure &) {
} catch(...) {
::IoUtilities::catchIoFailure();
cerr << "Warning: Can't parse info.ini because an IO error occured." << endl;
}
}