Skip to content

Commit

Permalink
Use BOOST_WORKAROUND
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Oct 11, 2024
1 parent 6c59857 commit 9debf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test/format_sql/sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ BOOST_AUTO_TEST_CASE(range_const_c_array)
}

// MSVC 14.1 rvalue references to C arrays don't work
#if !defined(BOOST_MSVC) || BOOST_MSVC >= 1911
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1920)
BOOST_AUTO_TEST_CASE(range_move_only_c_array)
{
std::unique_ptr<int> arr[] = {std::unique_ptr<int>(new int(10)), std::unique_ptr<int>(new int(20))};
Expand Down

0 comments on commit 9debf1e

Please sign in to comment.