From 4166eb8aff350302c726c894f367a172ad3683d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= <jgrad@icp.uni-stuttgart.de>
Date: Wed, 13 Nov 2024 19:14:42 +0100
Subject: [PATCH] Fix Clang 20 compiler error

---
 src/core/math/extern/exprtk.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/core/math/extern/exprtk.h b/src/core/math/extern/exprtk.h
index afa862bf1..c125d7fdb 100644
--- a/src/core/math/extern/exprtk.h
+++ b/src/core/math/extern/exprtk.h
@@ -6360,7 +6360,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -6420,7 +6420,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -6483,7 +6483,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -6527,7 +6527,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -7802,7 +7802,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(index_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(index_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -12012,7 +12012,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -15303,7 +15303,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -15359,7 +15359,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -15426,7 +15426,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -15493,7 +15493,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
@@ -16060,7 +16060,7 @@ namespace exprtk
 
          void collect_nodes(typename expression_node<T>::noderef_list_t& node_delete_list)
          {
-            expression_node<T>::ndb_t::template collect(branch_, node_delete_list);
+            expression_node<T>::ndb_t::template collect<>(branch_, node_delete_list);
          }
 
          std::size_t node_depth() const
-- 
GitLab