summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-02 15:36:21 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-02 15:36:21 +0200
commitc97b43fc819e1e0e963183579d1b50f26f8c6f7f (patch)
treeb0e1570b07d83be9b1c34addc74d708dfce0e888 /src/ConfigParser.cpp
parentc21a6828183cdcc08533a83530156e5758aca534 (diff)
downloaddabmux-c97b43fc819e1e0e963183579d1b50f26f8c6f7f.tar.gz
dabmux-c97b43fc819e1e0e963183579d1b50f26f8c6f7f.tar.bz2
dabmux-c97b43fc819e1e0e963183579d1b50f26f8c6f7f.zip
Regroup linkagesets into subsets of same type
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 2ca83d3..cb458d7 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -177,8 +177,8 @@ void parse_linkage(boost::property_tree::ptree& pt,
}
auto linkageset = make_shared<LinkageSet>(setuid, lsn, hard, international);
- linkageset->active = active;
- linkageset->keyservice = service_uid; // TODO check if it exists
+ linkageset->data.active = active;
+ linkageset->data.keyservice = service_uid; // TODO check if it exists
auto pt_list = pt_set.get_child_optional("list");
if (not pt_list) {
@@ -223,7 +223,7 @@ void parse_linkage(boost::property_tree::ptree& pt,
link.ecc = 0;
}
- linkageset->id_list.push_back(link);
+ linkageset->data.id_list.push_back(link);
}
ensemble->linkagesets.push_back(linkageset);
}