[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:

committed by
Max Kellermann

parent
85e33f7d60
commit
ac50bb5d2b
@@ -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
|
||||
|
Reference in New Issue
Block a user