[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
@@ -698,7 +698,7 @@ Visit(struct mpd_connection *connection,
|
||||
|
||||
if (recursive)
|
||||
Visit(connection, path, recursive, filter,
|
||||
visit_directory, std::move(visit_song), std::move(visit_playlist));
|
||||
visit_directory, visit_song, visit_playlist);
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
|
||||
Reference in New Issue
Block a user