aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--joinstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/joinstate.h b/joinstate.h
index cfdb90f2..d6c374d2 100644
--- a/joinstate.h
+++ b/joinstate.h
@@ -31,10 +31,10 @@ namespace QMatrixClient
// We cannot use REGISTER_ENUM outside of a Q_OBJECT and besides, we want
// to use strings that match respective JSON keys.
- static constexpr std::array<const char*, 3> JoinStateStrings
+ static const std::array<const char*, 3> JoinStateStrings
{ { "join", "invite", "leave" } };
- inline constexpr const char* toCString(JoinState js)
+ inline const char* toCString(JoinState js)
{
return JoinStateStrings[size_t(js)];
}