]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix error: template-id not allowed for constructor in C++20 (#1731)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sun, 10 Mar 2024 20:16:22 +0000 (20:16 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 11 Mar 2024 08:22:03 +0000 (08:22 +0000)
include/splay.h

index a905a8514711dfd2e292947dc107ae2ebcaf832f..e698c01c34c7d444d585a539e5866923e52f7ba7 100644 (file)
@@ -21,7 +21,7 @@ public:
     typedef V Value;
     typedef int SPLAYCMP(Value const &a, Value const &b);
 
-    SplayNode<V> (Value const &);
+    SplayNode(const Value &);
     Value data;
     mutable SplayNode<V> *left;
     mutable SplayNode<V> *right;