Skip to content

Commit

Permalink
Fix build with -Werror=template-id-cdtor (#5341)
Browse files Browse the repository at this point in the history
error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
(cherry picked from commit 81f0069)
  • Loading branch information
kistlin authored and mergify[bot] committed Nov 26, 2024
1 parent 8935858 commit 8c8287b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/filewatch/FileWatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ namespace filewatch {
}

// Const memeber varibles don't let me implent moves nicely, if moves are really wanted std::unique_ptr should be used and move that.
FileWatch<T>(FileWatch<T>&&) = delete;
FileWatch(FileWatch<T>&&) = delete;
FileWatch<T>& operator=(FileWatch<T>&&) & = delete;

private:
Expand Down

0 comments on commit 8c8287b

Please sign in to comment.