From 60521ab4e587f8c295c22e5582c089e19578d416 Mon Sep 17 00:00:00 2001 From: John Chrosniak Date: Wed, 4 Dec 2024 13:50:20 -0500 Subject: [PATCH] added gen ai comment --- .../src/plugins/graph_file_savers/geojson_graph_file_saver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nav2_route/src/plugins/graph_file_savers/geojson_graph_file_saver.cpp b/nav2_route/src/plugins/graph_file_savers/geojson_graph_file_saver.cpp index 03c146d478d..5a2bd7b3ad4 100644 --- a/nav2_route/src/plugins/graph_file_savers/geojson_graph_file_saver.cpp +++ b/nav2_route/src/plugins/graph_file_savers/geojson_graph_file_saver.cpp @@ -113,6 +113,7 @@ void GeoJsonGraphFileSaver::loadEdgesFromGraph( void GeoJsonGraphFileSaver::convertMetaDataToJson( const Metadata & metadata, Json & json_metadata) { + /* Function partially created using GPT */ for (auto itr = metadata.data.begin(); itr != metadata.data.end(); itr++) { if (itr->second.type() == typeid(std::string)) { json_metadata[itr->first] = std::any_cast(itr->second);