We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e55daf commit a51a2dbCopy full SHA for a51a2db
libcxx/test/support/test_allocator.h
@@ -477,9 +477,6 @@ class limited_allocator {
477
TEST_CONSTEXPR_CXX20 pointer allocate(size_type n) { return handle_->template allocate<T>(n); }
478
TEST_CONSTEXPR_CXX20 void deallocate(pointer p, size_type n) { handle_->template deallocate<T>(p, n); }
479
TEST_CONSTEXPR size_type max_size() const { return N; }
480
-
481
- // In C++11, constexpr non-static member functions are implicitly const, but this is no longer the case since C++14.
482
- TEST_CONSTEXPR_CXX14 BuffT* getHandle() { return handle_.get(); }
483
TEST_CONSTEXPR const BuffT* getHandle() const { return handle_.get(); }
484
};
485
0 commit comments