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.cpp b/ndn-cpp/name.cpp index 2886d1a..bb2b144 100644 --- a/ndn-cpp/name.cpp +++ b/ndn-cpp/name.cpp
@@ -231,7 +231,7 @@ return result.str(); } -bool Name::match(const Name &name) +bool Name::match(const Name &name) const { // Imitate ndn_Name_match.