Skip to content

Commit a5d8c58

Browse files
authored
tidy
1 parent 6c0d64c commit a5d8c58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/task/tests/task_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using namespace ppc::task;
2020

2121
class ScopedFile {
2222
public:
23-
explicit ScopedFile(const std::string& path) : path_(path) {}
23+
explicit ScopedFile(std::string path) : path_(std::move(path)) {}
2424
~ScopedFile() {
2525
std::error_code ec;
2626
std::filesystem::remove(path_, ec);

0 commit comments

Comments
 (0)