diff --git a/.travis.yml b/.travis.yml index 5287e8ede65d..0a53cce8832a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,7 +91,7 @@ jobs: - name: OSX/clang/SCons build os: osx - osx_image: xcode11 + osx_image: xcode9.3 compiler: clang cache: directories: @@ -127,7 +127,7 @@ jobs: - name: OSX/clang/CMake build os: osx - osx_image: xcode11 + osx_image: xcode9.3 compiler: clang cache: ccache: true diff --git a/src/util/optional.h b/src/util/optional.h index 6fe9139b0c3a..9ab8bdef458f 100644 --- a/src/util/optional.h +++ b/src/util/optional.h @@ -1,28 +1,7 @@ #pragma once -#if __has_include() || \ - (defined(__cpp_lib_optional) && __cpp_lib_optional >= 201606L) - #include -#else - -#include - -namespace std { - -using std::experimental::make_optional; -using std::experimental::nullopt; -using std::experimental::optional; - -// Workarounds for missing member functions: -// option::has_value() -> explicit operator bool() -// option::value() -> operator*() - -} // namespace std - -#endif - #include template