diff options
Diffstat (limited to 'libcxx/test/std/utilities/time/rep.h')
| -rw-r--r-- | libcxx/test/std/utilities/time/rep.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libcxx/test/std/utilities/time/rep.h b/libcxx/test/std/utilities/time/rep.h index 2ec3514ab56..1c76582d372 100644 --- a/libcxx/test/std/utilities/time/rep.h +++ b/libcxx/test/std/utilities/time/rep.h @@ -10,15 +10,17 @@ #ifndef REP_H #define REP_H +#include "test_macros.h" + class Rep { int data_; public: - _LIBCPP_CONSTEXPR Rep() : data_(-1) {} - explicit _LIBCPP_CONSTEXPR Rep(int i) : data_(i) {} + TEST_CONSTEXPR Rep() : data_(-1) {} + explicit TEST_CONSTEXPR Rep(int i) : data_(i) {} - bool _LIBCPP_CONSTEXPR operator==(int i) const {return data_ == i;} - bool _LIBCPP_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;} + bool TEST_CONSTEXPR operator==(int i) const {return data_ == i;} + bool TEST_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;} Rep& operator*=(Rep x) {data_ *= x.data_; return *this;} Rep& operator/=(Rep x) {data_ /= x.data_; return *this;} |

