aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connection.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 0713af16..45abb8ed 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -51,11 +51,11 @@ class LeaveRoomJob;
using LoginFlow = GetLoginFlowsJob::LoginFlow;
/// Predefined login flows
-struct LoginFlows {
- static inline const LoginFlow Password { "m.login.password" };
- static inline const LoginFlow SSO { "m.login.sso" };
- static inline const LoginFlow Token { "m.login.token" };
-};
+namespace LoginFlows {
+ inline const LoginFlow Password { "m.login.password" };
+ inline const LoginFlow SSO { "m.login.sso" };
+ inline const LoginFlow Token { "m.login.token" };
+}
// To simplify comparisons of LoginFlows