commit | 9bdb3b293656ee28a4a50c86d3916c0119ff6454 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Sep 12 12:42:13 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Sep 12 12:42:13 2013 -0700 |
tree | 4a3eb935e340c9a2f5616f1e2806c893ba77655e | |
parent | 85db6d797f5028bc7d7c52b7bb6602d01e0ed02b [diff] [blame] |
Make Name::Component.getValue() return Blob& .
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp index dedbfd1..6881d80 100644 --- a/ndn-cpp/name.cpp +++ b/ndn-cpp/name.cpp
@@ -222,7 +222,7 @@ ostringstream result; for (unsigned int i = 0; i < components_.size(); ++i) { result << "/"; - toEscapedString(components_[i].getValue(), result); + toEscapedString(*components_[i].getValue(), result); } return result.str();