diff options
Diffstat (limited to 'libstdc++-v3/include/ext/array_allocator.h')
-rw-r--r-- | libstdc++-v3/include/ext/array_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/array_allocator.h b/libstdc++-v3/include/ext/array_allocator.h index 6dd23cd..c0d4a34 100644 --- a/libstdc++-v3/include/ext/array_allocator.h +++ b/libstdc++-v3/include/ext/array_allocator.h @@ -151,7 +151,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ~array_allocator() _GLIBCXX_USE_NOEXCEPT { } - pointer + _GLIBCXX_NODISCARD pointer allocate(size_type __n, const void* = 0) { if (_M_array == 0 || _M_used + __n > _M_array->size()) |