commit | dd3d229d6d0f3be876252409871124361f19a815 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Wed Jul 10 11:59:44 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Wed Jul 10 11:59:44 2013 -0700 |
tree | 205c106b96deada0d75858d991be2714b4e158b7 | |
parent | 8238d004d032069bac42a04bad8278de81a84e63 [diff] [blame] |
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.