commit | 15dc964237e7d9f396da48c97d9f4248038f0e97 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Aug 27 17:19:35 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Aug 27 17:19:35 2013 -0700 |
tree | e6d646334433545a4558d88fad8b2aa847bb49f6 | |
parent | a166b730de5d2b9e6e6e246aa249ace746d53796 [diff] [blame] |
match should be a const method.
diff --git a/ndn-cpp/name.hpp b/ndn-cpp/name.hpp index e64d29d..dc59f06 100644 --- a/ndn-cpp/name.hpp +++ b/ndn-cpp/name.hpp
@@ -181,7 +181,7 @@ * @param name The Name to check. * @return true if this matches the given name, otherwise false. This always returns true if this name is empty. */ - bool match(const Name &name); + bool match(const Name &name) const; /** * Write the value to result, escaping characters according to the NDN URI Scheme.