commit | 8a770373205444240d68631bcea4ccf40f913ab0 | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Mon Mar 02 12:20:22 2015 -0600 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Mon Mar 02 23:50:59 2015 -0600 |
tree | f7a0baeba9844c75fe80cbe001710289c782565d | |
parent | 57ad051f67b169cd35d6c4375e560a935e131858 [diff] |
actually store length in CZString
diff --git a/include/json/value.h b/include/json/value.h index 439f05d..51bcdbb 100644 --- a/include/json/value.h +++ b/include/json/value.h
@@ -164,7 +164,7 @@ duplicateOnCopy }; CZString(ArrayIndex index); - CZString(const char* cstr, DuplicationPolicy allocate); + CZString(char const* cstr, unsigned length, DuplicationPolicy allocate); CZString(const CZString& other); ~CZString(); CZString& operator=(CZString other);