Fix some more constexpr issues for clang
This commit is contained in:
parent
8afc5acf5d
commit
d2e9486f2d
|
@ -17,7 +17,7 @@ Key canonicalize_ifn(Key key)
|
|||
}
|
||||
|
||||
using KeyAndName = std::pair<const char*, Codepoint>;
|
||||
static constexpr KeyAndName keynamemap[] = {
|
||||
static const KeyAndName keynamemap[] = {
|
||||
{ "ret", '\r' },
|
||||
{ "space", ' ' },
|
||||
{ "tab", '\t' },
|
||||
|
|
|
@ -864,7 +864,7 @@ void select_object(Context& context, int param)
|
|||
return select<mode>(context, std::bind(sel.func, _1, _2, flags));
|
||||
}
|
||||
|
||||
static constexpr struct
|
||||
static const struct
|
||||
{
|
||||
CodepointPair pair;
|
||||
Codepoint name;
|
||||
|
|
Loading…
Reference in New Issue
Block a user