Skip to content

Commit 74e3d6f

Browse files
Fix build with -Werror=template-id-cdtor (#5341) (#5422)
error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] (cherry picked from commit 81f0069) Co-authored-by: kistlin <[email protected]>
1 parent 831c8bd commit 74e3d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thirdparty/filewatch/FileWatch.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ namespace filewatch {
126126
FileWatch<T>& operator=(const FileWatch<T>& other) = delete;
127127

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

132132
private:

0 commit comments

Comments
 (0)