summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec-json/c++/json.tmpl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec-json/c++/json.tmpl.hpp b/modules/codec-json/c++/json.tmpl.hpp
index a741abd..6193e3f 100644
--- a/modules/codec-json/c++/json.tmpl.hpp
+++ b/modules/codec-json/c++/json.tmpl.hpp
@@ -58,7 +58,7 @@ struct json_encode<schema::Bool, FromEncode> {
}
{
- error err = buff.push(reinterpret_cast<const uint8_t*>(&view[0]), view_s);
+ error err = buff.push(*reinterpret_cast<const uint8_t*>(&view[0]), view_s);
if(!err.template is_type<err::no_error>()){
return std::move(err);
}