From 947d0c8a60e1cfe9dcfe626b30876bfe935c5c4f Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Mon, 8 Jan 2024 22:14:28 -0800 Subject: [PATCH] Just use c++17 Not worth --- meson.build | 2 +- src/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 137b5e1..747500e 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), }); }