update to the new pikotools api

This commit is contained in:
Tomasz Sowa
2024-04-03 17:03:50 +02:00
parent 2025644691
commit e8ac579fcb
3 changed files with 18 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2021, Tomasz Sowa
* Copyright (c) 2021-2024, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -288,7 +288,7 @@ bool Finder::parse_way_childs(pt::Space & out, pt::Space & childs)
if( ref )
{
out.add(L"node_id", *ref);
long node_id = pt::Tol(ref->c_str());
long node_id = pt::to_l(ref->c_str());
has_node = get_node(node_id, out);
}
}