From d2762e6a1a059a7f99a745ca6dc18bcf775f091e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 12 Aug 2015 19:16:52 +0100 Subject: [PATCH] Try to fix compilation on travis --- src/commands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cc b/src/commands.cc index c4ed618e..82aeb840 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -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)