From 4bee0c8d7192f90cee740b470efd113ec658c04e Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 10 Mar 2024 20:16:22 +0000 Subject: [PATCH] Fix error: template-id not allowed for constructor in C++20 (#1731) --- include/splay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2