aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example/meson.build2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/meson.build b/example/meson.build
index 701afa7..21e8317 100644
--- a/example/meson.build
+++ b/example/meson.build
@@ -37,7 +37,7 @@ if platform != 'dragonfly' and add_languages('cpp', required : false)
install: false)
executable('memfs_ll', 'memfs_ll.cc',
dependencies: [ thread_dep, libfuse_dep ],
- cpp_args : '-std=c++17',
+ cpp_args : '-std=c++20',
install: false)
endif
diff --git a/meson.build b/meson.build
index 16b804e..7091d5f 100644
--- a/meson.build
+++ b/meson.build
@@ -4,7 +4,7 @@ project('libfuse3', ['c'],
default_options: [
'buildtype=debugoptimized',
'c_std=gnu11',
- 'cpp_std=c++17',
+ 'cpp_std=c++20',
'warning_level=2',
])