aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index c1f8cebb..edac878f 100644
--- a/util.h
+++ b/util.h
@@ -41,7 +41,7 @@ namespace QMatrixClient
*
* @example qDebug() << formatJson << json_object; // (QJsonObject, etc.)
*/
- static QDebugManip formatJson = [](QDebug debug_object) {
+ const QDebugManip formatJson = [](QDebug debug_object) {
#if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
return debug_object;
#else