Code style: Declare (Type& value) instead of (Type &value)
diff --git a/ndn-cpp/forwarding-entry.cpp b/ndn-cpp/forwarding-entry.cpp
index 0e8c6d7..116a542 100644
--- a/ndn-cpp/forwarding-entry.cpp
+++ b/ndn-cpp/forwarding-entry.cpp
@@ -10,7 +10,7 @@
namespace ndn {
-void ForwardingEntry::set(const struct ndn_ForwardingEntry &forwardingEntryStruct)
+void ForwardingEntry::set(const struct ndn_ForwardingEntry& forwardingEntryStruct)
{
if (forwardingEntryStruct.action && forwardingEntryStruct.actionLength > 0)
action_ = string(forwardingEntryStruct.action, forwardingEntryStruct.action + forwardingEntryStruct.actionLength);
@@ -24,7 +24,7 @@
freshnessSeconds_ = forwardingEntryStruct.freshnessSeconds;
}
-void ForwardingEntry::get(struct ndn_ForwardingEntry &forwardingEntryStruct) const
+void ForwardingEntry::get(struct ndn_ForwardingEntry& forwardingEntryStruct) const
{
prefix_.get(forwardingEntryStruct.prefix);
publisherPublicKeyDigest_.get(forwardingEntryStruct.publisherPublicKeyDigest);