From 2dcbc3bd263907a424b68bb3393dfadd8a29f239 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 10 Sep 2024 20:47:35 +0200 Subject: Fixing compile errors from last change --- modules/codec-json/c++/json.tmpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/codec-json/c++') diff --git a/modules/codec-json/c++/json.tmpl.hpp b/modules/codec-json/c++/json.tmpl.hpp index bead73a..1eb46bc 100644 --- a/modules/codec-json/c++/json.tmpl.hpp +++ b/modules/codec-json/c++/json.tmpl.hpp @@ -109,7 +109,7 @@ struct json_encode { return err; } } - for(std::size_t i = 0; i < from.size(); ++i){ + for(std::size_t i = 0; i < from.size().get(); ++i){ auto err = to.push(from.get_at(i)); if(!err.template is_type()){ return err; -- cgit v1.2.3