From 81f00693974dc603bd67e1afcb0ae85f273071f6 Mon Sep 17 00:00:00 2001 From: kistlin <83662395+kistlin@users.noreply.github.com> Date: Tue, 26 Nov 2024 10:17:59 +0100 Subject: [PATCH] Fix build with `-Werror=template-id-cdtor` (#5341) error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] --- thirdparty/filewatch/FileWatch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/filewatch/FileWatch.hpp b/thirdparty/filewatch/FileWatch.hpp index 8f4b6092b4f..375de5f76ba 100644 --- a/thirdparty/filewatch/FileWatch.hpp +++ b/thirdparty/filewatch/FileWatch.hpp @@ -126,7 +126,7 @@ namespace filewatch { FileWatch& operator=(const FileWatch& 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(FileWatch&&) = delete; + FileWatch(FileWatch&&) = delete; FileWatch& operator=(FileWatch&&) & = delete; private: