From 5e18461c9e8eadd8ad14a60aaf32628f6e431eef Mon Sep 17 00:00:00 2001 From: Edgar Date: Fri, 15 Jan 2021 10:02:36 +0100 Subject: [PATCH] :rotating_light: Fixed compiler warnings --- include/moFileReader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/moFileReader.hpp b/include/moFileReader.hpp index c7e4f36..a02ea53 100644 --- a/include/moFileReader.hpp +++ b/include/moFileReader.hpp @@ -496,7 +496,7 @@ class moFileReader try { m_lookup_context[original_str.substr(0, x)][original_str.substr(x + 1, original_str.length())] = translation_str; } - catch (const std::exception& e) { + catch (...) { m_error = "Stream bad during reading. The .mo-file seems to be invalid or has bad descriptions!"; return moFileReader::EC_ERROR; }