diff --git a/meson.build b/meson.build index 17dabec..13f73fc 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('shapefile-test', 'cpp', default_options : [ - 'cpp_std=c++20', + 'cpp_std=c++17', 'warning_level=3', 'buildtype=release', ] diff --git a/src/main.cpp b/src/main.cpp index eb4df8e..057f620 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -162,9 +162,9 @@ int main(int argc, char *argv[]) { } all_fires.push_back(month_info{ - .n_fires = n_fires_month, - .name = MONTH, - .days = std::move(all_days), + n_fires_month, + MONTH, + std::move(all_days), }); }