show keys of lists in the prompt
Change-Id: I29deb2b3aa80734b675c0c8309f785fa2eed7ccc
diff --git a/src/schema.hpp b/src/schema.hpp
index a414dc9..7d6e486 100644
--- a/src/schema.hpp
+++ b/src/schema.hpp
@@ -22,17 +22,7 @@
};
}
-struct nodeToString : public boost::static_visitor<std::string> {
- std::string operator()(const nodeup_&) const
- {
- return "..";
- }
- template <class T>
- std::string operator()(const T& node) const
- {
- return node.m_name;
- }
-};
+
using NodeType = boost::variant<yang::container, yang::list>;