]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 11 Mar 2024 22:10:12 +0000 (11:10 +1300)
include/splay.h

index c5903e8d97bf580b122e6b26c5af014514997ceb..ac1af639f98ca6dc59a4e00ac85fe559369568f1 100644 (file)
@@ -23,7 +23,7 @@ public:
     typedef void SPLAYWALKEE(Value const & nodedata, void *state);
     static void DefaultFree (Value &aValue) {delete aValue;}
 
-    SplayNode<V> (Value const &);
+    SplayNode(const Value &);
     Value data;
     mutable SplayNode<V> *left;
     mutable SplayNode<V> *right;