commit | 93034539579bccd25ebb3aa78ab9d8776b9ac3cc | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Oct 08 11:52:43 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Oct 08 11:52:43 2013 -0700 |
tree | a6352bd8121e0c332b2b269eedc0f5c42b4955b3 | |
parent | b510e3e2388a5ba0acd41bb4e552f157cc282282 [diff] [blame] |
Internal: Use C struct ndn_Blob where possible. Make ndn::Blob work with ndn_Blob.
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp index 40dbab5..d8174e6 100644 --- a/ndn-cpp/name.cpp +++ b/ndn-cpp/name.cpp
@@ -221,7 +221,7 @@ { clear(); for (size_t i = 0; i < nameStruct.nComponents; ++i) - addComponent(nameStruct.components[i].value, nameStruct.components[i].valueLength); + addComponent(nameStruct.components[i].value.value, nameStruct.components[i].value.length); } Name&