aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:39:42 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:39:42 +0200
commit7ef84728ab3744192583eb587a4585c576f5a176 (patch)
tree07570f02d058ad2645778578e85b50b4d3b9721d /lib/events
parent5a63f8a18645d612decdcc853335df0682c41d03 (diff)
downloadlibquotient-7ef84728ab3744192583eb587a4585c576f5a176.tar.gz
libquotient-7ef84728ab3744192583eb587a4585c576f5a176.zip
Move C++-only macros to util.h
This pertains to QUO_IMPLICIT and DECL_DEPRECATED_ENUMERATOR - both can be used with no connection to Qt meta-type system (which is what quotient_common.h is for).
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/encryptionevent.cpp2
-rw-r--r--lib/events/encryptionevent.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/events/encryptionevent.cpp b/lib/events/encryptionevent.cpp
index eb15f38e..1654d6f3 100644
--- a/lib/events/encryptionevent.cpp
+++ b/lib/events/encryptionevent.cpp
@@ -6,8 +6,6 @@
#include "e2ee/e2ee.h"
-#include <array>
-
namespace Quotient {
static constexpr std::array encryptionStrings { MegolmV1AesSha2AlgoKey };
diff --git a/lib/events/encryptionevent.h b/lib/events/encryptionevent.h
index 5b5420ec..c73e5598 100644
--- a/lib/events/encryptionevent.h
+++ b/lib/events/encryptionevent.h
@@ -5,7 +5,6 @@
#pragma once
#include "stateevent.h"
-#include "quotient_common.h"
namespace Quotient {
class QUOTIENT_API EncryptionEventContent {