diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-15 00:23:40 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-15 00:23:40 +0200 |
commit | 66b799cd4c4f8b7c5300bb00e6134537962d992b (patch) | |
tree | 26644364a2e90b2b4ef68756d7de51855c377429 /src/bindings.cpp | |
parent | c4190b65144a3f57da731906f9491e6b754b2d4f (diff) |
fix compilation with gcc-4.5
Diffstat (limited to 'src/bindings.cpp')
-rw-r--r-- | src/bindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings.cpp b/src/bindings.cpp index 9f6dea73..caf32be2 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -108,7 +108,7 @@ Action *parseActionLine(const std::string &line, F error) std::string arg = getEnclosedString(line, '"', '"', 0); Key k = stringToSpecialKey(arg); if (k != Key::noOp) - result = new PushCharacters(&Global::wFooter, { k.getChar() }); + result = new PushCharacters(&Global::wFooter, std::vector<int>{ k.getChar() }); else error() << "invalid character passed to push_character: '" << arg << "'\n"; } |