From 324032961e6057650eb18d4fcefc506b54dd415c Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Mon, 18 Jan 2021 19:42:32 +0100 Subject: [PATCH] fix unix build issue --- src/cpp/lib/DataTypeConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/lib/DataTypeConverter.cpp b/src/cpp/lib/DataTypeConverter.cpp index c013cc17a..eed9967a8 100644 --- a/src/cpp/lib/DataTypeConverter.cpp +++ b/src/cpp/lib/DataTypeConverter.cpp @@ -338,7 +338,7 @@ namespace DataTypeConverter auto mm = MemoryManager::getInstance(); int count_replacements = 0; - for (auto it = json->begin(); it != json->end(); it++) + for (Poco::JSON::Object::ConstIterator it = json->begin(); it != json->end(); it++) { if (json->isObject(it)) { auto local_json = it->second.extract(); @@ -374,7 +374,7 @@ namespace DataTypeConverter auto mm = MemoryManager::getInstance(); int count_replacements = 0; int count = 0; - for (auto it = json->begin(); it != json->end(); it++) + for (Poco::JSON::Array::ValueVec::const_iterator it = json->begin(); it != json->end(); it++) { if (json->isObject(it)) {