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-Tag: SQUID_6_9~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bee0c8d7192f90cee740b470efd113ec658c04e;p=thirdparty%2Fsquid.git Fix error: template-id not allowed for constructor in C++20 (#1731) --- diff --git a/include/splay.h b/include/splay.h index c5903e8d97..ac1af639f9 100644 --- a/include/splay.h +++ b/include/splay.h @@ -23,7 +23,7 @@ public: typedef void SPLAYWALKEE(Value const & nodedata, void *state); static void DefaultFree (Value &aValue) {delete aValue;} - SplayNode (Value const &); + SplayNode(const Value &); Value data; mutable SplayNode *left; mutable SplayNode *right;