commit | 9f2ef6fe6127de4ad2dcd5a2d7451acfd1bd0db1 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Jan 04 21:46:08 2013 -0800 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Jan 04 21:46:08 2013 -0800 |
tree | fddb9c94a3f6a9296cb3a50bd7dbcaaec9a74fa2 | |
parent | 90611808756a97c9d82eb0aa65f829ca460d3505 [diff] [blame] |
fix bugs in constructors; C++ does not support Java like recursive construction
diff --git a/include/ccnx-pco.h b/include/ccnx-pco.h index 72a7289..7956dad 100644 --- a/include/ccnx-pco.h +++ b/include/ccnx-pco.h
@@ -25,6 +25,10 @@ Name name() const; +private: + void + init(const unsigned char *data, size_t len); + protected: ccn_parsed_ContentObject m_pco; ccn_indexbuf *m_comps;