aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:08:20 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:08:20 +0900
commit372a9ed301e52d6daf7ccdb9a9982a67f46486a1 (patch)
treea89f6a3f98afc6e614191acaffa86e2d5eef96f2 /lib/events/roomevent.cpp
parent1803e79038a8f8ab966c40572c039b10bf51072e (diff)
downloadlibquotient-372a9ed301e52d6daf7ccdb9a9982a67f46486a1.tar.gz
libquotient-372a9ed301e52d6daf7ccdb9a9982a67f46486a1.zip
Use [[maybe_unused]] instead of [[gnu::unused]]
Diffstat (limited to 'lib/events/roomevent.cpp')
-rw-r--r--lib/events/roomevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp
index e19c03ce..971d8597 100644
--- a/lib/events/roomevent.cpp
+++ b/lib/events/roomevent.cpp
@@ -24,7 +24,7 @@
using namespace Quotient;
-[[gnu::unused]] static auto roomEventTypeInitialised =
+[[maybe_unused]] static auto roomEventTypeInitialised =
Event::factory_t::chainFactory<RoomEvent>();
RoomEvent::RoomEvent(Type type, event_mtype_t matrixType,