commit | 1377403aaf38d182830d8c5ff900e97692b67c2b | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Fri Aug 16 17:08:33 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Fri Aug 16 17:08:33 2013 -0700 |
tree | 70a11c10694f1a329fa9e63ed8b3beeff2dff903 | |
parent | 5dbf543a6bbc9f69324443a2f86d7d1b672159c2 [diff] [blame] |
getOutput should return a const reference.
diff --git a/ndn-cpp/encoding/binary-xml-encoder.hpp b/ndn-cpp/encoding/binary-xml-encoder.hpp index 9e52613..6c560b1 100644 --- a/ndn-cpp/encoding/binary-xml-encoder.hpp +++ b/ndn-cpp/encoding/binary-xml-encoder.hpp
@@ -30,7 +30,7 @@ /** * Return the output as a shared_ptr. */ - ptr_lib::shared_ptr<std::vector<unsigned char> > getOutput() + const ptr_lib::shared_ptr<std::vector<unsigned char> > &getOutput() { return output_.get(); }