diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-02-08 13:05:52 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-02-08 13:05:52 +0100 |
commit | 0c9e40e402af05365895d315b0b90879dc5a3168 (patch) | |
tree | 0c65dbfdd53620d62629a2115a2f6e8bb4f9d753 /fsa | |
parent | cc1637f6c8451cc9bd47e2d8965db28a00848fb2 (diff) |
Stop using throw() as noexcept specifier.
Diffstat (limited to 'fsa')
-rw-r--r-- | fsa/src/libfsa/automaton-alternate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fsa/src/libfsa/automaton-alternate.h b/fsa/src/libfsa/automaton-alternate.h index db17306376b..16312e366fe 100644 --- a/fsa/src/libfsa/automaton-alternate.h +++ b/fsa/src/libfsa/automaton-alternate.h @@ -436,14 +436,14 @@ private: struct rebind { using other = MMapArenaAllocator<_Tp1>; }; - MMapArenaAllocator() throw(): _chunks(), _size(0) { } + MMapArenaAllocator() noexcept : _chunks(), _size(0) { } - MMapArenaAllocator(const MMapArenaAllocator&) throw(): _chunks(), _size(0) { } + MMapArenaAllocator(const MMapArenaAllocator&) noexcept : _chunks(), _size(0) { } template<typename _Tp1> - MMapArenaAllocator(const MMapArenaAllocator<_Tp1>&) throw(): _chunks(), _size(0) { } + MMapArenaAllocator(const MMapArenaAllocator<_Tp1>&) noexcept : _chunks(), _size(0) { } - ~MMapArenaAllocator() throw() { release(); } + ~MMapArenaAllocator() noexcept { release(); } pointer address(reference __x) const { return &__x; } @@ -489,7 +489,7 @@ private: } size_type - max_size() const throw() + max_size() const noexcept { return _CAPACITY / sizeof(_Tp); } void |