diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:12:03 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:12:03 -0600 |
commit | 45378506119d9d2f851856d46ca86652d229b68e (patch) | |
tree | 159eb99073c6f47a2d8209e79eafeba7f3c62446 /mfbt/NullPtr.h | |
parent | b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693 (diff) | |
download | UXP-45378506119d9d2f851856d46ca86652d229b68e.tar UXP-45378506119d9d2f851856d46ca86652d229b68e.tar.gz UXP-45378506119d9d2f851856d46ca86652d229b68e.tar.lz UXP-45378506119d9d2f851856d46ca86652d229b68e.tar.xz UXP-45378506119d9d2f851856d46ca86652d229b68e.zip |
Use |noexcept| instead of an exception-specification in mozalloc.h
We are using |throw(std::bad_alloc)|, but dynamic exception specifications have been deprecated in C++11. The C++11 equivalent is |noexcept(false)|. This causes build warning spam when using newer compilers such as GCC 7.x.
Diffstat (limited to 'mfbt/NullPtr.h')
0 files changed, 0 insertions, 0 deletions