aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index ed212759..91bdc632 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -100,7 +100,7 @@ namespace QMatrixClient
const QJsonObject contentJson() const;
- virtual QJsonObject toJson() const { Q_ASSERT(false); }
+ virtual QJsonObject toJson() const { Q_ASSERT(false); return {}; }
private:
Type _type;