Skip to content

Commit 0c94797

Browse files
committed
Requires C++20 in python tests
1 parent 0263521 commit 0c94797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def cpp_flag(compiler):
7878
"""Return the -std=c++17 compiler flag and errors when the flag is
7979
no available.
8080
"""
81-
if has_flag(compiler, '-std=c++17'):
82-
return '-std=c++17'
81+
if has_flag(compiler, '-std=c++20'):
82+
return '-std=c++20'
8383
else:
8484
raise RuntimeError('C++17 support is required by xtensor!')
8585

0 commit comments

Comments
 (0)