From 1a17d9c73fc824f8fd92c953da76e6acbb3dd481 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 7 Dec 2014 21:01:42 +0000 Subject: [PATCH] const String& to StringView --- src/command_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command_manager.cc b/src/command_manager.cc index 7583ac24..e3e56cfa 100644 --- a/src/command_manager.cc +++ b/src/command_manager.cc @@ -271,7 +271,7 @@ String eval_token(const Token& token, Context& context, memoryview shell_params, const EnvVarMap& env_vars); -String eval(const String& str, Context& context, +String eval(StringView str, Context& context, memoryview shell_params, const EnvVarMap& env_vars) {