summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-01-24 14:56:29 -0600
committerPatrick Williams <patrick@stwcx.xyz>2020-02-11 02:49:21 +0000
commit5e001779718673aa50637958b362e5c5ca8359e5 (patch)
treeafbf1246b60c77fbaee94b3fd8ae5311b1a48697
parent75016662c0cbf50c45f1aaca5a9ee045877d69a4 (diff)
downloadsdbusplus-5e001779718673aa50637958b362e5c5ca8359e5.tar.gz
sdbusplus-5e001779718673aa50637958b362e5c5ca8359e5.zip
sdbus++: interface: fix indent of enum-string fn
The convert<enum>FromString functions were indented incorrectly relative to the rest of the class. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iabe9d30c33c8707bf2bf4c6a697e3d27d0a3000b
-rw-r--r--tools/sdbusplus/templates/interface.mako.server.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/sdbusplus/templates/interface.mako.server.hpp b/tools/sdbusplus/templates/interface.mako.server.hpp
index a04c02e..99ba769 100644
--- a/tools/sdbusplus/templates/interface.mako.server.hpp
+++ b/tools/sdbusplus/templates/interface.mako.server.hpp
@@ -113,12 +113,12 @@ ${p.camelCase}(${p.cppTypeParam(interface.name)} value);
% endif
% for e in interface.enums:
- /** @brief Convert a string to an appropriate enum value.
- * @param[in] s - The string to convert in the form of
- * "${interface.name}.<value name>"
- * @return - The enum value.
- */
- static ${e.name} convert${e.name}FromString(const std::string& s);
+ /** @brief Convert a string to an appropriate enum value.
+ * @param[in] s - The string to convert in the form of
+ * "${interface.name}.<value name>"
+ * @return - The enum value.
+ */
+ static ${e.name} convert${e.name}FromString(const std::string& s);
% endfor
static constexpr auto interface = "${interface.name}";
OpenPOWER on IntegriCloud