[libc++][ranges][NFC] Format a couple of tests as a prerequisite (#190514)
to https://llvm.org/PR190513 to avoid friction.
This commit is contained in:
parent
c5a904946a
commit
792fce7cc3
@ -25,13 +25,10 @@ struct ViewWithCounting : std::ranges::view_base {
|
||||
constexpr ViewWithCounting(int& copies_ctr, int& moves_ctr) : times_copied(&copies_ctr), times_moved(&moves_ctr) {}
|
||||
|
||||
constexpr ViewWithCounting(const ViewWithCounting& rhs)
|
||||
: times_copied(rhs.times_copied)
|
||||
, times_moved(rhs.times_moved) {
|
||||
: times_copied(rhs.times_copied), times_moved(rhs.times_moved) {
|
||||
++(*times_copied);
|
||||
}
|
||||
constexpr ViewWithCounting(ViewWithCounting&& rhs)
|
||||
: times_copied(rhs.times_copied)
|
||||
, times_moved(rhs.times_moved) {
|
||||
constexpr ViewWithCounting(ViewWithCounting&& rhs) : times_copied(rhs.times_copied), times_moved(rhs.times_moved) {
|
||||
++(*times_moved);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user