diff options
Diffstat (limited to 'libstdc++-v3/include/ext/alloc_traits.h')
-rw-r--r-- | libstdc++-v3/include/ext/alloc_traits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/alloc_traits.h b/libstdc++-v3/include/ext/alloc_traits.h index 5571d26..65fa3de 100644 --- a/libstdc++-v3/include/ext/alloc_traits.h +++ b/libstdc++-v3/include/ext/alloc_traits.h @@ -128,7 +128,7 @@ template<typename _Alloc, typename = typename _Alloc::value_type> typedef typename _Alloc::size_type size_type; typedef typename _Alloc::difference_type difference_type; - static pointer + _GLIBCXX_NODISCARD static pointer allocate(_Alloc& __a, size_type __n) { return __a.allocate(__n); } |