Use const where possible.
diff --git a/ndn-cpp/encoding/WireFormat.cpp b/ndn-cpp/encoding/WireFormat.cpp
index f3906fd..3217fe1 100644
--- a/ndn-cpp/encoding/WireFormat.cpp
+++ b/ndn-cpp/encoding/WireFormat.cpp
@@ -10,7 +10,7 @@
namespace ndn {
-void WireFormat::encodeName(Name &name, vector<unsigned char> &output)
+void WireFormat::encodeName(const Name &name, vector<unsigned char> &output)
{
throw logic_error("unimplemented");
}
@@ -19,7 +19,7 @@
throw logic_error("unimplemented");
}
-void WireFormat::encodeInterest(Interest &interest, vector<unsigned char> &output)
+void WireFormat::encodeInterest(const Interest &interest, vector<unsigned char> &output)
{
throw logic_error("unimplemented");
}