Try to fix compilation on travis

This commit is contained in:
Maxime Coste 2015-08-12 19:16:52 +01:00
parent 7086135fa6
commit d2762e6a1a

View File

@ -1045,7 +1045,7 @@ const CommandDesc unset_option_cmd = {
{
if (token_to_complete == 0)
{
constexpr auto scopes = { "buffer", "window" };
static constexpr auto scopes = { "buffer", "window" };
return { 0_byte, params[0].length(), complete(params[0], pos_in_token, scopes) };
}
else if (token_to_complete == 1)