summary refs log tree commit diff
path: root/include/MatrixClient.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-08 00:51:03 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-08 00:51:03 +0300
commite44cc374e184396d32ec196186f2a6578fa0860e (patch)
treefd67af7442372c76682e48def6dd6edd6f7107bb /include/MatrixClient.h
parentUse timeline to retrieve state events (diff)
downloadnheko-e44cc374e184396d32ec196186f2a6578fa0860e.tar.xz
Use strongly typed enums
Diffstat (limited to 'include/MatrixClient.h')
-rw-r--r--include/MatrixClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h
index ad768eeb..2520c6bc 100644
--- a/include/MatrixClient.h
+++ b/include/MatrixClient.h
@@ -82,7 +82,7 @@ private slots:
 	void onResponse(QNetworkReply *reply);
 
 private:
-	enum Endpoint {
+	enum class Endpoint {
 		GetOwnProfile,
 		GetOwnAvatar,
 		GetProfile,