In set methods, make the argument const
diff --git a/ndn-cpp/Name.hpp b/ndn-cpp/Name.hpp
index 0d43e93..3859014 100644
--- a/ndn-cpp/Name.hpp
+++ b/ndn-cpp/Name.hpp
@@ -101,7 +101,7 @@
    * Clear this name, and set the components by copying from the name struct.
    * @param nameStruct a C ndn_Name struct
    */
-  void set(struct ndn_Name &nameStruct);
+  void set(const struct ndn_Name &nameStruct);
   
   /**
    * Add a new component, copying from value of length valueLength.