Skip to content

Commit 65993fe

Browse files
committed
Fix C++03
1 parent 91f9469 commit 65993fe

File tree

1 file changed

+6
-3
lines changed
  • libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop

1 file changed

+6
-3
lines changed

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/common.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ struct A {
3939
A& operator=(const A&);
4040
};
4141

42-
class Abstract
43-
{
44-
virtual ~Abstract() = 0;
42+
class Abstract {
43+
virtual ~Abstract() = 0;
4544
};
4645

4746
// Types for reference_{constructs/converts}_from_temporary
4847

48+
#if TEST_STD_VER >= 23
49+
4950
struct NonPOD {
5051
NonPOD(int);
5152
};
@@ -83,4 +84,6 @@ class ExplicitConversionRef {
8384
explicit operator int&();
8485
};
8586

87+
#endif
88+
8689
#endif // TEST_META_UNARY_COMP_COMMON_H

0 commit comments

Comments
 (0)