sdbus++: interface namespaces closed backward
In the generated interface files, the closing brackets for the
namespaces were commented backwards. com.example generated:
} // namespace com
} // namespace example
Change-Id: I57a9d3b3ba30c2a90f243ba447c7295da258bd58
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tools/templates/interface.mako.server.hpp b/tools/templates/interface.mako.server.hpp
index ca78cec..ba55ef6 100644
--- a/tools/templates/interface.mako.server.hpp
+++ b/tools/templates/interface.mako.server.hpp
@@ -85,7 +85,7 @@
};
- % for s in namespaces:
+ % for s in reversed(namespaces):
} // namespace ${s}
% endfor
} // namespace server