1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: upstream: fix: GCC-15: compile error in hashtree.cpp
This issue was fixed upstream: http://savannah.gnu.org/bugs/?66656.
Origin: upstream
Forwarded: not-needed
Author:
Reno Dakota <https://github.com/paparodeo> (orignal patcher)
Jerome Benoit <calculus@rezozer.net>
Last-Update: 2025-09-07
--- a/src/Kernel/Containers/hashtree.cpp
+++ b/src/Kernel/Containers/hashtree.cpp
@@ -94,7 +94,7 @@
template<class K, class V> inline hashtree<K,V>
hashtree<K,V>::operator[] (K key) {
- if (*this->contains (key)) return *this->children (key);
+ if ((*this)->contains (key)) return (*this)->children (key);
else FAILED ("read-access to non-existent node requested");
}
|