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/static_schema.cpp b/src/static_schema.cpp
index af1004a..a75f471 100644
--- a/src/static_schema.cpp
+++ b/src/static_schema.cpp
@@ -167,9 +167,9 @@
return res;
}
- auto getTopLevelModule = [] (const auto& path) -> boost::optional<std::string> {
+ auto getTopLevelModule = [](const auto& path) -> boost::optional<std::string> {
if (!path.m_nodes.empty()) {
- return path.m_nodes.begin()->m_prefix.flat_map([] (const auto& module) {return boost::optional<std::string>(module.m_name);});
+ return path.m_nodes.begin()->m_prefix.flat_map([](const auto& module) { return boost::optional<std::string>(module.m_name); });
}
return boost::none;
@@ -213,7 +213,6 @@
yang::NodeTypes operator()(const yang::leaf&)
{
return yang::NodeTypes::Leaf;
-
}
yang::NodeTypes operator()(const yang::leaflist&)
{