Add modules
Change-Id: Idafb0f57dd032d4f88658de15d293bdefac0567f
diff --git a/src/interpreter.cpp b/src/interpreter.cpp
index 1a4e84a..19a163b 100644
--- a/src/interpreter.cpp
+++ b/src/interpreter.cpp
@@ -35,12 +35,14 @@
void Interpreter::operator()(const create_& create) const
{
- std::cout << "Presence container " << boost::get<container_>(create.m_path.m_nodes.back()).m_name << " created." << std::endl;
+ auto cont = boost::get<container_>(create.m_path.m_nodes.back().m_suffix);
+ std::cout << "Presence container " << cont.m_name << " created." << std::endl;
}
void Interpreter::operator()(const delete_& delet) const
{
- std::cout << "Presence container " << boost::get<container_>(delet.m_path.m_nodes.back()).m_name << " deleted." << std::endl;
+ auto cont = boost::get<container_>(delet.m_path.m_nodes.back().m_suffix);
+ std::cout << "Presence container " << cont.m_name << " deleted." << std::endl;
}
Interpreter::Interpreter(Parser& parser, Schema&)