diff options
author | danra <danra@users.noreply.github.com> | 2017-08-26 13:20:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-26 13:20:36 +0300 |
commit | 37c4362f22dc7a605a35194576e19fe5a23de0b0 (patch) | |
tree | 9416e0345109b60bf61bf35e1878d4114acce760 | |
parent | 07c92b98e2a0a29d19b5ccdbbfa9addc1e80b306 (diff) |
Trivial: Documentation fixes for CVectorWriter ctors
-rw-r--r-- | src/streams.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streams.h b/src/streams.h index a3fc919714..159847279d 100644 --- a/src/streams.h +++ b/src/streams.h @@ -82,7 +82,7 @@ class CVectorWriter * @param[in] nVersionIn Serialization Version (including any flags) * @param[in] vchDataIn Referenced byte vector to overwrite/append * @param[in] nPosIn Starting position. Vector index where writes should start. The vector will initially - * grow as necessary to max(index, vec.size()). So to append, use vec.size(). + * grow as necessary to max(nPosIn, vec.size()). So to append, use vec.size(). */ CVectorWriter(int nTypeIn, int nVersionIn, std::vector<unsigned char>& vchDataIn, size_t nPosIn) : nType(nTypeIn), nVersion(nVersionIn), vchData(vchDataIn), nPos(nPosIn) { @@ -91,7 +91,7 @@ class CVectorWriter } /* * (other params same as above) - * @param[in] args A list of items to serialize starting at nPos. + * @param[in] args A list of items to serialize starting at nPosIn. */ template <typename... Args> CVectorWriter(int nTypeIn, int nVersionIn, std::vector<unsigned char>& vchDataIn, size_t nPosIn, Args&&... args) : CVectorWriter(nTypeIn, nVersionIn, vchDataIn, nPosIn) |