From c99d9090307b365b645cf8eca6a5e18a799d7a6d Mon Sep 17 00:00:00 2001
From: Botond Baranyi <botond.baranyi@ericsson.com>
Date: Tue, 10 Aug 2021 14:00:25 +0200
Subject: [PATCH] Fixed segmentation fault in OBJID templates caused by new
 template types (issues #548, #549 and #550)

Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com>
---
 core/Objid.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/Objid.hh b/core/Objid.hh
index c85bce460..bce98532f 100644
--- a/core/Objid.hh
+++ b/core/Objid.hh
@@ -128,8 +128,8 @@ public:
 // objid template class
 
 class OBJID_template : public Base_Template {
+  OBJID single_value;
   union {
-    OBJID single_value;
     struct {
       unsigned int n_values;
       OBJID_template *list_value;
-- 
GitLab