FMT_NOEXCEPT -> noexcept
This commit is contained in:
+1
-1
@@ -325,7 +325,7 @@ template <typename Allocator, size_t MaxSize>
|
||||
class max_size_allocator : public Allocator {
|
||||
public:
|
||||
using typename Allocator::value_type;
|
||||
size_t max_size() const FMT_NOEXCEPT { return MaxSize; }
|
||||
size_t max_size() const noexcept { return MaxSize; }
|
||||
value_type* allocate(size_t n) {
|
||||
if (n > max_size()) {
|
||||
throw std::length_error("size > max_size");
|
||||
|
||||
Reference in New Issue
Block a user