build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I05293cb1d160ff3d11907421c2904e36cde0349d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 5a7f4e4..ba7f23a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,12 +1,12 @@
project('phosphor-psu-code-mgmt', 'cpp',
- version: '0.1', meson_version: '>=0.49.0',
+ version: '0.1', meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
'werror=true',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'b_lto=true',
],
- meson_version: '>=0.58.0',
+ meson_version: '>=1.1.1',
)
systemd = dependency('systemd')