File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ struct secure_allocator : public std::allocator<T> {
26
26
typedef typename base::reference reference;
27
27
typedef typename base::const_reference const_reference;
28
28
typedef typename base::value_type value_type;
29
- secure_allocator () throw () {}
30
- secure_allocator (const secure_allocator& a) throw () : base(a) {}
29
+ secure_allocator () noexcept {}
30
+ secure_allocator (const secure_allocator& a) noexcept : base(a) {}
31
31
template <typename U>
32
- secure_allocator (const secure_allocator<U>& a) throw () : base(a)
32
+ secure_allocator (const secure_allocator<U>& a) noexcept : base(a)
33
33
{
34
34
}
35
- ~secure_allocator () throw () {}
35
+ ~secure_allocator () noexcept {}
36
36
template <typename _Other>
37
37
struct rebind {
38
38
typedef secure_allocator<_Other> other;
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ struct zero_after_free_allocator : public std::allocator<T> {
22
22
typedef typename base::reference reference;
23
23
typedef typename base::const_reference const_reference;
24
24
typedef typename base::value_type value_type;
25
- zero_after_free_allocator () throw () {}
26
- zero_after_free_allocator (const zero_after_free_allocator& a) throw () : base(a) {}
25
+ zero_after_free_allocator () noexcept {}
26
+ zero_after_free_allocator (const zero_after_free_allocator& a) noexcept : base(a) {}
27
27
template <typename U>
28
- zero_after_free_allocator (const zero_after_free_allocator<U>& a) throw () : base(a)
28
+ zero_after_free_allocator (const zero_after_free_allocator<U>& a) noexcept : base(a)
29
29
{
30
30
}
31
- ~zero_after_free_allocator () throw () {}
31
+ ~zero_after_free_allocator () noexcept {}
32
32
template <typename _Other>
33
33
struct rebind {
34
34
typedef zero_after_free_allocator<_Other> other;
You can’t perform that action at this time.
0 commit comments