commit 262ab4ad71fc90644028e58ed554ebe61192f072
parent 39eb334fdfdbeb409d120e804d1184b582d8f0e3
Author: Benjamin Piaud <benjamin.piaud@meso-star.com>
Date: Tue, 17 Jan 2023 14:42:23 +0100
Fix yaml name field construction_mode
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cg_construction_mode_0_parsing_schemas.h b/src/cg_construction_mode_0_parsing_schemas.h
@@ -58,7 +58,7 @@ static const struct cyaml_schema_value dataset_cmode_0_schema = {
};
static const cyaml_schema_field_t cmode_0_fields_schemas[] = {
- CYAML_FIELD_IGNORE("contructive_mode_type", CYAML_FLAG_DEFAULT),
+ CYAML_FIELD_IGNORE("construction_mode", CYAML_FLAG_DEFAULT),
{
.key = "datasets",
.value = {
diff --git a/src/cg_construction_mode_1_parsing_schemas.h b/src/cg_construction_mode_1_parsing_schemas.h
@@ -93,7 +93,7 @@ static const struct cyaml_schema_value dataset_cmode_1_schema = {
};
static const cyaml_schema_field_t cmode_1_fields_schemas[] = {
- CYAML_FIELD_IGNORE("contructive_mode_type", CYAML_FLAG_DEFAULT),
+ CYAML_FIELD_IGNORE("construction_mode", CYAML_FLAG_DEFAULT),
{
.key = "datasets",
.value = {
diff --git a/src/cg_construction_modes_parsing_schemas.h b/src/cg_construction_modes_parsing_schemas.h
@@ -45,7 +45,7 @@ struct parsed_cmode {
};
static const cyaml_schema_field_t construction_mode_fields_schemas[] = {
- CYAML_FIELD_ENUM("contructive_mode_type",
+ CYAML_FIELD_ENUM("construction_mode",
CYAML_FLAG_CASE_INSENSITIVE, struct parsed_cmode, cmode_type,
city_building_types_strings, CYAML_ARRAY_LEN(city_building_types_strings)),
CYAML_FIELD_IGNORE("datasets", CYAML_FLAG_DEFAULT),