-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The error is the following:
[ 64%] Building CXX object src/CMakeFiles/fuzzy_dedup_lib.dir/fuzzy_dedup.cpp.o
/home/lockywolf/OfficialRepos/dupa/src/fuzzy_dedup.cpp: In function ‘std::unique_ptr<EqClass> detail::ClassifyEmptyDirs(Node&)’:
/home/lockywolf/OfficialRepos/dupa/src/fuzzy_dedup.cpp:146:19: error: moving a local object in a return statement prevents copy elision [-Werror=pessimizing-move]
146 | return std::move(eq_class);
| ~~~~~~~~~^~~~~~~~~~
/home/lockywolf/OfficialRepos/dupa/src/fuzzy_dedup.cpp:146:19: note: remove ‘std::move’ call
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/fuzzy_dedup_lib.dir/build.make:82: src/CMakeFiles/fuzzy_dedup_lib.dir/fuzzy_dedup.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:453: src/CMakeFiles/fuzzy_dedup_lib.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels