aboutsummaryrefslogtreecommitdiffstats
path: root/fsa
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-02-08 13:05:52 +0100
committerTor Egge <Tor.Egge@online.no>2023-02-08 13:05:52 +0100
commit0c9e40e402af05365895d315b0b90879dc5a3168 (patch)
tree0c65dbfdd53620d62629a2115a2f6e8bb4f9d753 /fsa
parentcc1637f6c8451cc9bd47e2d8965db28a00848fb2 (diff)
Stop using throw() as noexcept specifier.
Diffstat (limited to 'fsa')
-rw-r--r--fsa/src/libfsa/automaton-alternate.h10
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