aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-14 17:23:54 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-14 17:23:54 +0200
commita2520bae3677be9df0abcef7681a138a6c4ad849 (patch)
tree8c26e8ef5a7aad53d3593417ab3aad48a104cd6b /lib/util.h
parentf85badbd7bae173871b7681322745c73b23aa512 (diff)
downloadlibquotient-a2520bae3677be9df0abcef7681a138a6c4ad849.tar.gz
libquotient-a2520bae3677be9df0abcef7681a138a6c4ad849.zip
quotient_common.h for common namespace things
The two main cases for this header file are: * namespace QMatrixClient = Quotient should occur exactly once, to respect ODR. * Q_NAMESPACE for namespace Quotient (to enable Q_ENUM_NS, particularly) must be defined exactly once, for the same reason.
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/util.h b/lib/util.h
index 81add1ac..943ff8db 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -294,5 +294,3 @@ qreal stringToHueF(const QString& s);
/** Extract the serverpart from MXID */
QString serverPart(const QString& mxId);
} // namespace Quotient
-/// \deprecated Use namespace Quotient instead
-namespace QMatrixClient = Quotient;