Skip to content

Commit 220d690

Browse files
committed
Fixed standard version in python tests
1 parent 4218048 commit 220d690

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_python/setup.py

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

8686

8787
class BuildExt(build_ext):

0 commit comments

Comments
 (0)