[clang-tidy] remove needless std::move

Found with performance-move-const-arg

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-05 16:47:14 -08:00
committed by Max Kellermann
parent 85e33f7d60
commit ac50bb5d2b
4 changed files with 7 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ config_read_name_value(ConfigBlock &block, char *input, unsigned line)
throw FormatRuntimeError("\"%s\" is duplicate, first defined on line %i",
name, bp->line);
block.AddBlockParam(name, std::move(value), line);
block.AddBlockParam(name, value, line);
}
static ConfigBlock