From 8c8287bb982679d408e6296967e28fc346847845 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] (cherry picked from commit 81f00693974dc603bd67e1afcb0ae85f273071f6) --- 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 3b485d8d038..3a19ae225c6 100644 --- a/thirdparty/filewatch/FileWatch.hpp +++ b/thirdparty/filewatch/FileWatch.hpp @@ -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(FileWatch&&) = delete; + FileWatch(FileWatch&&) = delete; FileWatch& operator=(FileWatch&&) & = delete; private: