Skip to content

Commit

Permalink
Move CGAL_USE(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Apr 30, 2024
1 parent 0095302 commit 10e9de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STL_Extension/test/STL_Extension/test_fwd_make_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ int main()
// forwarding of arguments in the `make_array` function.
// For that reason we disable this test for MSVC-2017)
std::array<A, 1> a = CGAL::make_array<A>(B());
CGAL_USE(a);
#endif
auto b = CGAL::make_array<double>(1u);
static_assert(std::is_same_v<decltype(b), std::array<double, 1>>);
CGAL_USE(a);
CGAL_USE(b);
return 0;
}

0 comments on commit 10e9de8

Please sign in to comment.