Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/just_gtfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhlopkova Olga <o.khlopkova@corp.mail.ru>2021-02-05 17:56:27 +0300
committerKhlopkova Olga <o.khlopkova@corp.mail.ru>2021-02-05 17:56:27 +0300
commita3638306ef7277f2a4bf6a0b42b8a39c1ad07557 (patch)
treee8ee14fd507bf54ec90874bb1ab338ca4c4f570c
parent5bd1df553f35f15c73f617cca882bea882ac917a (diff)
Changed default StopLocationType to StopOrPlatformcpp14
-rw-r--r--include/just_gtfs/just_gtfs.h2
-rw-r--r--tests/unit_tests.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/just_gtfs/just_gtfs.h b/include/just_gtfs/just_gtfs.h
index 60dca4c..1f9f0a6 100644
--- a/include/just_gtfs/just_gtfs.h
+++ b/include/just_gtfs/just_gtfs.h
@@ -891,7 +891,7 @@ struct Stop
Text stop_code;
Text stop_desc;
Text stop_url;
- StopLocationType location_type = StopLocationType::GenericNode;
+ StopLocationType location_type = StopLocationType::StopOrPlatform;
Text stop_timezone;
Text wheelchair_boarding;
Id level_id;
diff --git a/tests/unit_tests.cpp b/tests/unit_tests.cpp
index aba8814..249f62a 100644
--- a/tests/unit_tests.cpp
+++ b/tests/unit_tests.cpp
@@ -403,7 +403,7 @@ TEST_CASE("Stops")
CHECK_EQ(stops[0].stop_id, "FUR_CREEK_RES");
CHECK(stops[0].stop_desc.empty());
CHECK_EQ(stops[0].stop_name, "Furnace Creek Resort (Demo)");
- CHECK_EQ(stops[0].location_type, StopLocationType::GenericNode);
+ CHECK_EQ(stops[0].location_type, StopLocationType::StopOrPlatform);
CHECK(stops[0].zone_id.empty());
auto const & stop = feed.get_stop("FUR_CREEK_RES");