[RFC,v1,5/5] meson: Switch to C++20
diff mbox series

Message ID 20260107193607.2168539-6-barnabas.pocze@ideasonboard.com
State New
Headers show
Series
  • C++20 migration
Related show

Commit Message

Barnabás Pőcze Jan. 7, 2026, 7:36 p.m. UTC
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart Jan. 7, 2026, 8:33 p.m. UTC | #1
On Wed, Jan 07, 2026 at 08:36:07PM +0100, Barnabás Pőcze wrote:

Missing commit message.

> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 1d8e1d994..427d8b1be 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -6,7 +6,7 @@ project('libcamera', 'c', 'cpp',
>      default_options : [
>          'werror=true',
>          'warning_level=2',
> -        'cpp_std=c++17',
> +        'cpp_std=c++20',
>      ],
>      license : 'LGPL 2.1+')
>

Patch
diff mbox series

diff --git a/meson.build b/meson.build
index 1d8e1d994..427d8b1be 100644
--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@  project('libcamera', 'c', 'cpp',
     default_options : [
         'werror=true',
         'warning_level=2',
-        'cpp_std=c++17',
+        'cpp_std=c++20',
     ],
     license : 'LGPL 2.1+')