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 48a8776 commit 4f54e64
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 @@ -126,7 +126,7 @@ namespace filewatch {
FileWatch<T>& operator=(const FileWatch<T>& other) = delete;

// 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 4f54e64

Please sign in to comment.