Commit e20f13f
committed
RoomMessageEvent: make msgTypes constexpr
It actually should be std::array, not std::vector; and now that
std::to_array() is available everywhere, the initialisation can be made
quite neat, too.1 parent 5c8ac8a commit e20f13f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments