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: Id155ce5591163912ec496cb9afa3ca34343c3f8c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index d3f33eb..45db119 100644
--- a/meson.build
+++ b/meson.build
@@ -1,10 +1,10 @@
project(
'dbus-sensors',
'cpp',
- default_options: ['warning_level=3', 'werror=true', 'cpp_std=c++20'],
+ default_options: ['warning_level=3', 'werror=true', 'cpp_std=c++23'],
license: 'Apache-2.0',
version: '0.1',
- meson_version: '>=1.1',
+ meson_version: '>=1.1.1',
)
# Enable io_uring for all daemons with below flags.