commit | 21844fcddb24797deb837670317e87095c201773 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Aug 08 14:52:51 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Aug 08 14:52:51 2013 -0700 |
tree | b4d79dc58e466584ee294677122171601fd74b2e | |
parent | adaf92303139c519ac54bcfc1bba18bcfce75fdb [diff] [blame] |
Added toUri and deprecated to_uri
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp index 4996c92..226626f 100644 --- a/ndn-cpp/name.cpp +++ b/ndn-cpp/name.cpp
@@ -243,7 +243,7 @@ addComponent(nameStruct.components[i].value, nameStruct.components[i].valueLength); } -std::string Name::to_uri() const +std::string Name::toUri() const { if (components_.size() == 0) return "/";