Cleanup formatting
Wew, that's a lot of stuff. But I thought it makes sense after the
sysrepo migration.
Change-Id: If363d2ce1b11106113a9f0c37a3bcd59a940bd0b
diff --git a/src/interpreter.cpp b/src/interpreter.cpp
index a39167e..97836bf 100644
--- a/src/interpreter.cpp
+++ b/src/interpreter.cpp
@@ -115,7 +115,7 @@
auto toPrint = m_datastore.schema()->availableNodes(toCanonicalPath(ls.m_path), recursion);
for (const auto& it : toPrint) {
- std::cout << (it.first ? *it.first + ":" : "" ) + it.second << std::endl;
+ std::cout << (it.first ? *it.first + ":" : "") + it.second << std::endl;
}
}
@@ -134,8 +134,7 @@
case yang::NodeTypes::PresenceContainer:
ss << "presence container";
break;
- case yang::NodeTypes::Leaf:
- {
+ case yang::NodeTypes::Leaf: {
auto leafType = m_datastore.schema()->leafType(path);
auto typedefName = m_datastore.schema()->leafTypeName(path);
std::string baseTypeStr;