From 309db657cdf70ad2a250a2bd57ae7a08c72e3f5a Mon Sep 17 00:00:00 2001 From: kistlin Date: Thu, 17 Oct 2024 16:06:04 +0200 Subject: [PATCH] fix #5340: -Werror=template-id-cdtor in C++20 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: