From: Amos Jeffries Date: Sun, 10 Mar 2024 20:16:22 +0000 (+0000) Subject: Fix error: template-id not allowed for constructor in C++20 (#1731) X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsquid.git;a=commitdiff_plain;h=63022fd37a4f052d9eb30b7018b32eb46eb1c4fd Fix error: template-id not allowed for constructor in C++20 (#1731) --- diff --git a/include/splay.h b/include/splay.h index a905a85147..e698c01c34 100644 --- a/include/splay.h +++ b/include/splay.h @@ -21,7 +21,7 @@ public: typedef V Value; typedef int SPLAYCMP(Value const &a, Value const &b); - SplayNode (Value const &); + SplayNode(const Value &); Value data; mutable SplayNode *left; mutable SplayNode *right;