Skip to content

Commit

Permalink
Merge pull request #422 from boostorg/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland authored Jul 9, 2024
2 parents 90387c3 + b0127f4 commit 4161c7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ env:
GIT_FETCH_JOBS: 8
NET_RETRY_COUNT: 5
DEFAULT_BUILD_VARIANT: release
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
posix:
Expand Down Expand Up @@ -252,10 +253,13 @@ jobs:

- toolset: clang
cxxstd: "11,14"
os: macos-11
os: macos-12
- toolset: clang
cxxstd: "20"
os: macos-12
os: macos-13
- toolset: clang
cxxstd: "20"
os: macos-14

runs-on: ${{matrix.os}}
container: ${{matrix.container}}
Expand Down
4 changes: 2 additions & 2 deletions include/boost/test/utils/named_params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ struct nil {
#else
operator T const&() const
#endif
{ nfp_detail::report_access_to_invalid_parameter(true); static T* v = 0; BOOST_TEST_UNREACHABLE_RETURN(*v); }
{ nfp_detail::report_access_to_invalid_parameter(true); BOOST_TEST_UNREACHABLE_RETURN(*static_cast<T*>(0)); }

template<typename T>
T any_cast() const
{ nfp_detail::report_access_to_invalid_parameter(true); static typename remove_reference<T>::type* v = 0; BOOST_TEST_UNREACHABLE_RETURN(*v); }
{ nfp_detail::report_access_to_invalid_parameter(true); BOOST_TEST_UNREACHABLE_RETURN(*static_cast<typename std::remove_reference<T>::type*>(0)); }

template<typename Arg1>
nil operator()( Arg1 const& )
Expand Down

0 comments on commit 4161c7b

Please sign in to comment.