Skip to content

Commit 7dfa7c1

Browse files
constexpr test ID*
1 parent a34f7af commit 7dfa7c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcxx/test/support/min_allocator.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ class min_pointer<const void, ID> {
194194

195195
template <class ID>
196196
class min_pointer<void, ID> {
197+
#ifdef TEST_IS_CONSTANT_EVALUATED
198+
ID* ptr_;
199+
#else
197200
void* ptr_;
201+
#endif
198202

199203
public:
200204
min_pointer() TEST_NOEXCEPT = default;

0 commit comments

Comments
 (0)