From cb84c9fdbfcf7a882c05a1bb1d36d0c7b9aa405b Mon Sep 17 00:00:00 2001 From: Botond Baranyi <botond.baranyi@ericsson.com> Date: Tue, 10 Aug 2021 13:00:29 +0200 Subject: [PATCH] Fixed compilation errors for dynamic array templates (issue #548) Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com> --- core/Array.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/Array.hh b/core/Array.hh index b1bc7c773..57d690f4c 100644 --- a/core/Array.hh +++ b/core/Array.hh @@ -1470,7 +1470,7 @@ private: TEMPLATE_ARRAY* precondition; TEMPLATE_ARRAY* implied_template; } implication_; - dynmatch_struct<T_value_type>* dyn_match; + dynmatch_struct<TEMPLATE_ARRAY>* dyn_match; }; struct Pair_of_elements; @@ -1517,10 +1517,10 @@ public: permutation_intervals = NULL; } - TEMPLATE_ARRAY(Dynamic_Match_Interface<T_value_type>* p_dyn_match) + TEMPLATE_ARRAY(Dynamic_Match_Interface<TEMPLATE_ARRAY>* p_dyn_match) : Restricted_Length_Template(DYNAMIC_MATCH) { - dyn_match = new dynmatch_struct<T_value_type>; + dyn_match = new dynmatch_struct<TEMPLATE_ARRAY>; dyn_match->ptr = p_dyn_match; dyn_match->ref_count = 1;number_of_permutations = 0; permutation_intervals = NULL; -- GitLab