From 02c057953ad1a213c2befda1ac08c7c95f7d00b9 Mon Sep 17 00:00:00 2001
From: ekrisza <ekrisza@HU00060815.ericsson.se>
Date: Fri, 29 Jun 2018 10:55:12 +0200
Subject: [PATCH] template arrays can have permutations, so they should be
 encoded/decoded too.

Signed-off-by: ekrisza <ekrisza@HU00060815.ericsson.se>
---
 core/Array.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/Array.hh b/core/Array.hh
index cba194955..d17a71690 100644
--- a/core/Array.hh
+++ b/core/Array.hh
@@ -2472,7 +2472,7 @@ template <typename T_value_type, typename T_template_type,
 void TEMPLATE_ARRAY<T_value_type,T_template_type,array_size,index_offset>::
 encode_text(Text_Buf& text_buf) const
 {
-  encode_text_restricted(text_buf);
+  encode_text_permutation(text_buf);
   switch (template_selection)
   {
     case SPECIFIC_VALUE:
@@ -2503,7 +2503,7 @@ void TEMPLATE_ARRAY<T_value_type,T_template_type,array_size,index_offset>::
 decode_text(Text_Buf& text_buf)
 {
   clean_up();
-  decode_text_restricted(text_buf);
+  decode_text_permutation(text_buf);
   switch (template_selection)
   {
     case SPECIFIC_VALUE:
-- 
GitLab