Skip to content

Commit de6797e

Browse files
committed
ci
1 parent ca08a9b commit de6797e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libcxx/test/std/containers/Emplaceable.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ class Emplaceable {
2222
double double_;
2323

2424
public:
25-
TEST_CONSTEXPR Emplaceable() : int_(0), double_(0) {}
26-
TEST_CONSTEXPR Emplaceable(int i, double d) : int_(i), double_(d) {}
27-
TEST_CONSTEXPR Emplaceable(Emplaceable&& x) : int_(x.int_), double_(x.double_) {
25+
TEST_CONSTEXPR_CXX20 Emplaceable() : int_(0), double_(0) {}
26+
TEST_CONSTEXPR_CXX20 Emplaceable(int i, double d) : int_(i), double_(d) {}
27+
TEST_CONSTEXPR_CXX20 Emplaceable(Emplaceable&& x) : int_(x.int_), double_(x.double_) {
2828
x.int_ = 0;
2929
x.double_ = 0;
3030
}
31-
TEST_CONSTEXPR Emplaceable& operator=(Emplaceable&& x) {
31+
TEST_CONSTEXPR_CXX20 Emplaceable& operator=(Emplaceable&& x) {
3232
int_ = x.int_;
3333
x.int_ = 0;
3434
double_ = x.double_;
3535
x.double_ = 0;
3636
return *this;
3737
}
3838

39-
TEST_CONSTEXPR bool operator==(const Emplaceable& x) const { return int_ == x.int_ && double_ == x.double_; }
40-
TEST_CONSTEXPR bool operator<(const Emplaceable& x) const {
39+
TEST_CONSTEXPR_CXX20 bool operator==(const Emplaceable& x) const { return int_ == x.int_ && double_ == x.double_; }
40+
TEST_CONSTEXPR_CXX20 bool operator<(const Emplaceable& x) const {
4141
return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);
4242
}
4343

44-
TEST_CONSTEXPR int get() const { return int_; }
44+
TEST_CONSTEXPR_CXX20 int get() const { return int_; }
4545
};
4646

4747
template <>

0 commit comments

Comments
 (0)