fix unix build issue

This commit is contained in:
einhornimmond 2021-01-18 19:42:32 +01:00 committed by Ulf Gebhardt
parent 5bf316483c
commit 324032961e
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -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<Poco::JSON::Object::Ptr>();
@ -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)) {