diff options
| author | Jimmy Thrasher <jimmy@jimmythrasher.com> | 2014-04-02 20:19:49 -0400 |
|---|---|---|
| committer | Jimmy Thrasher <jimmy@jimmythrasher.com> | 2014-04-03 13:56:03 -0400 |
| commit | d2e9486f2d12c09b4951458a45b20321e4b85a92 (patch) | |
| tree | 3b8a1774a8b9fec5ab950cf620a42d11f33ba4f0 /src | |
| parent | 8afc5acf5dbb49cd55346985ba49a86436c4a968 (diff) | |
Fix some more constexpr issues for clang
Diffstat (limited to 'src')
| -rw-r--r-- | src/keys.cc | 2 | ||||
| -rw-r--r-- | src/normal.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.cc b/src/keys.cc index cecf9634..e3b2f111 100644 --- a/src/keys.cc +++ b/src/keys.cc @@ -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' }, diff --git a/src/normal.cc b/src/normal.cc index 73346a75..b0794e8f 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -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; |
