projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6735bd9
)
Replaced deprecated throw() function specifier with noexcept
author
khizmax
<libcds.dev@gmail.com>
Tue, 3 Jan 2017 10:36:33 +0000
(13:36 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Tue, 3 Jan 2017 10:36:33 +0000
(13:36 +0300)
cds/os/alloc_aligned.h
patch
|
blob
|
history
diff --git
a/cds/os/alloc_aligned.h
b/cds/os/alloc_aligned.h
index a25d5cc60c509276c7931366bef7cdefb484a798..1b5ef3ea20be1b8359b35a79d57e41b733350fab 100644
(file)
--- a/
cds/os/alloc_aligned.h
+++ b/
cds/os/alloc_aligned.h
@@
-133,16
+133,16
@@
namespace cds {
}
// construct default allocator (do nothing)
}
// construct default allocator (do nothing)
- aligned_allocator()
throw()
+ aligned_allocator()
CDS_NOEXCEPT
{}
/// construct by copying (do nothing)
{}
/// construct by copying (do nothing)
- aligned_allocator(const aligned_allocator<T>&)
throw()
+ aligned_allocator(const aligned_allocator<T>&)
CDS_NOEXCEPT
{}
/// construct from a related allocator (do nothing)
template <class OTHER>
{}
/// construct from a related allocator (do nothing)
template <class OTHER>
- aligned_allocator(const aligned_allocator<OTHER>&)
throw()
+ aligned_allocator(const aligned_allocator<OTHER>&)
CDS_NOEXCEPT
{}
/// assign from a related allocator (do nothing)
{}
/// assign from a related allocator (do nothing)
@@
-209,7
+209,7
@@
namespace cds {
}
/// estimate maximum array size
}
/// estimate maximum array size
- size_type max_size() const
throw()
+ size_type max_size() const
CDS_NOEXCEPT
{
prototype a;
return a.max_size();
{
prototype a;
return a.max_size();