Code style: Put function return type on a line by itself.
diff --git a/ndn-cpp/encoding/binary-xml-structure-decoder.hpp b/ndn-cpp/encoding/binary-xml-structure-decoder.hpp
index dbe5932..a1911ea 100644
--- a/ndn-cpp/encoding/binary-xml-structure-decoder.hpp
+++ b/ndn-cpp/encoding/binary-xml-structure-decoder.hpp
@@ -30,7 +30,8 @@
* @param inputLength the number of bytes in input.
* @return true if found the element end, false if need to read more. (This is the same as returning gotElementEnd().)
*/
- bool findElementEnd(unsigned char *input, unsigned int inputLength)
+ bool
+ findElementEnd(unsigned char *input, unsigned int inputLength)
{
ndn_Error error;
if ((error = ndn_BinaryXmlStructureDecoder_findElementEnd(this, input, inputLength)))
@@ -38,8 +39,11 @@
return gotElementEnd();
}
- unsigned int getOffset() const { return offset; }
- bool gotElementEnd() const { return gotElementEnd != 0; }
+ unsigned int
+ getOffset() const { return offset; }
+
+ bool
+ gotElementEnd() const { return gotElementEnd != 0; }
};
}