From 48c3225cb7c730c9181b84dd3e17c371d53d35fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 18 Jan 2018 17:07:17 +0100 Subject: [PATCH] Fix types of caught exception in IniReader.cpp --- src/openrct2/config/IniReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/config/IniReader.cpp b/src/openrct2/config/IniReader.cpp index f28426e06f..dc6730348e 100644 --- a/src/openrct2/config/IniReader.cpp +++ b/src/openrct2/config/IniReader.cpp @@ -152,7 +152,7 @@ public: { result = std::stoi(value); } - catch (std::exception) + catch (const std::exception &) { } } @@ -169,7 +169,7 @@ public: { result = std::stof(value); } - catch (std::exception) + catch (const std::exception &) { } }