Fix some more constexpr issues for clang

This commit is contained in:
Jimmy Thrasher 2014-04-02 20:19:49 -04:00
parent 8afc5acf5d
commit d2e9486f2d
2 changed files with 2 additions and 2 deletions

View File

@ -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' },

View File

@ -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;