commit | 6a5133316dfaba1023af9a69f183e1706ca5b3b3 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Sep 12 13:23:58 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Sep 12 13:23:58 2013 -0700 |
tree | 5f35efa9bdf7d2b6b9521e6111de2382694df38a | |
parent | 860b0ae2b74cb51c236638e50909d65ed0502b0e [diff] |
In Data.getContent, return Blob.
diff --git a/ndn-cpp/data.hpp b/ndn-cpp/data.hpp index ab4de84..59eb6a3 100644 --- a/ndn-cpp/data.hpp +++ b/ndn-cpp/data.hpp
@@ -186,7 +186,7 @@ const MetaInfo& getMetaInfo() const { return metaInfo_; } MetaInfo& getMetaInfo() { return metaInfo_; } - const std::vector<unsigned char>& getContent() const { return (*content_); } + const Blob& getContent() const { return content_; } void setSignature(const Signature& signature) { signature_ = signature; }