From 2bc57c38d2c415a1e272048e9ec5bb8eb499b3bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Oct 2024 21:37:17 +0100 Subject: [PATCH] meson.build: set cpp_std=c++20 Meson supports this since version 0.57.0. --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 16658c770..f5b020262 100644 --- a/meson.build +++ b/meson.build @@ -6,11 +6,11 @@ project( default_options: [ 'c_std=c11', 'build.c_std=c11', - 'cpp_std=c++2a', - 'build.cpp_std=c++2a', + 'cpp_std=c++20', + 'build.cpp_std=c++20', 'warning_level=3', - 'fmt:cpp_std=c++2a', + 'fmt:cpp_std=c++20', # If we build those libraries as Meson subproject, they shall be # linked statically into the MPD executable.