Code style: Put function return type on a line by itself.
diff --git a/ndn-cpp/key.cpp b/ndn-cpp/key.cpp
index 1fa7075..b453471 100644
--- a/ndn-cpp/key.cpp
+++ b/ndn-cpp/key.cpp
@@ -11,7 +11,8 @@
namespace ndn {
-void KeyLocator::get(struct ndn_KeyLocator& keyLocatorStruct) const
+void
+KeyLocator::get(struct ndn_KeyLocator& keyLocatorStruct) const
{
keyLocatorStruct.type = type_;
@@ -25,7 +26,8 @@
keyLocatorStruct.keyNameType = keyNameType_;
}
-void KeyLocator::set(const struct ndn_KeyLocator& keyLocatorStruct)
+void
+KeyLocator::set(const struct ndn_KeyLocator& keyLocatorStruct)
{
type_ = keyLocatorStruct.type;
keyData_ = Blob(keyLocatorStruct.keyData, keyLocatorStruct.keyDataLength);