From 357490f9b39e1977438aa1a05f35fe09519453b5 Mon Sep 17 00:00:00 2001 From: Hannah Bast Date: Mon, 25 Sep 2023 16:12:36 +0200 Subject: [PATCH] Fix mismatch between `modeStrings` and `GeoTriplesMode` (#57) Order in enum GeoTriplesMode: none = 0, reduced = 1, full = 2 Old order in modeStrings: none, full, reduced New order in modeStrings: none, reduced, full Co-authored-by: Hannah Bast --- src/config/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/Config.cpp b/src/config/Config.cpp index 3f7f2204..67dcd89e 100644 --- a/src/config/Config.cpp +++ b/src/config/Config.cpp @@ -178,7 +178,7 @@ std::string osm2rdf::config::Config::getInfo(std::string_view prefix) const { } } oss << "\n" << prefix << osm2rdf::config::constants::SECTION_CONTAINS; - std::string modeStrings[3] = {"none", "full", "reduced"}; + std::string modeStrings[3] = {"none", "reduced", "full"}; oss << "\n" << prefix << osm2rdf::config::constants::OSM2RDF_GEO_TRIPLES_INFO << ": " << (modeStrings[osm2rdfGeoTriplesMode]);