From be02d3f0f2689475f31c4523010eed58f39d27cb Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Mon, 18 Oct 2021 16:57:12 -0700 Subject: Update to C++17 and use std::optional for getSuperType (#4203) This sets the C++ standard variable in the build to C++17, and makes use of std::optional (a C++17 library feature) in one place, to test that it's working. --- scripts/test/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/test') diff --git a/scripts/test/shared.py b/scripts/test/shared.py index 82e4fe03e..d86d802d3 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -25,7 +25,7 @@ import sys # The C++ standard whose features are required to build Binaryen. # Keep in sync with CMakeLists.txt CXX_STANDARD -cxx_standard = 14 +cxx_standard = 17 def parse_args(args): -- cgit v1.2.3