Code style: Declare (Type& value) instead of (Type &value)
diff --git a/ndn-cpp/key.cpp b/ndn-cpp/key.cpp
index 7548968..6cdae60 100644
--- a/ndn-cpp/key.cpp
+++ b/ndn-cpp/key.cpp
@@ -10,7 +10,7 @@
namespace ndn {
-void KeyLocator::get(struct ndn_KeyLocator &keyLocatorStruct) const
+void KeyLocator::get(struct ndn_KeyLocator& keyLocatorStruct) const
{
keyLocatorStruct.type = type_;
@@ -24,7 +24,7 @@
keyLocatorStruct.keyNameType = keyNameType_;
}
-void KeyLocator::set(const struct ndn_KeyLocator &keyLocatorStruct)
+void KeyLocator::set(const struct ndn_KeyLocator& keyLocatorStruct)
{
type_ = keyLocatorStruct.type;
setVector(keyData_, keyLocatorStruct.keyData, keyLocatorStruct.keyDataLength);