summaryrefslogtreecommitdiffstats
path: root/api/logic/Json.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/Json.h')
-rw-r--r--api/logic/Json.h2
1 files changed, 1 insertions, 1 deletions
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<T>(value, what);
}
- catch (JsonException)
+ catch (const JsonException &)
{
return default_;
}