From f0ff2db4e1a81bc941ea8b6ce43f7fb63d34547a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 20 May 2018 01:53:05 +0200 Subject: GH-2277 fix even more exception catches by value --- api/logic/Json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/logic') diff --git a/api/logic/Json.h b/api/logic/Json.h index 321007cd..a84d204a 100644 --- a/api/logic/Json.h +++ b/api/logic/Json.h @@ -123,7 +123,7 @@ T ensureIsType(const QJsonValue &value, const T default_ = T(), const QString &w { return requireIsType(value, what); } - catch (JsonException) + catch (const JsonException &) { return default_; } -- cgit v1.2.3