diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-08 13:30:19 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | 367530b6495a455ad53827bce7f331419ed2ab83 (patch) | |
tree | 89485bf948505efeff9f7c99253724b617ad3fda /lib | |
parent | Initial commit where writing objects back out to JSON (diff) | |
download | ilt-367530b6495a455ad53827bce7f331419ed2ab83.tar.bz2 ilt-367530b6495a455ad53827bce7f331419ed2ab83.tar.xz ilt-367530b6495a455ad53827bce7f331419ed2ab83.zip |
Update tests to coverage encoding strings
Fixes char (byte) type lookup.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jsonParse-persistence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jsonParse-persistence.cpp b/lib/jsonParse-persistence.cpp index 6ecfff8..5062796 100644 --- a/lib/jsonParse-persistence.cpp +++ b/lib/jsonParse-persistence.cpp @@ -170,7 +170,7 @@ namespace Persistence { { strm << '"'; std::for_each(value.begin(), value.end(), [this](char ch) { - outFuncs[ch](strm, ch); + outFuncs[(unsigned char)ch](strm, ch); }); strm << '"'; } |