kernel/kernel_cpp: Change nothrow_t syntax for gcc6+
* Fix for explicit constructor change. https://github.com/gcc-mirror/gcc/commit/a3f25f0f Change-Id: I330ad9c3bff1d7f3e0284f3dcda86e17d974c57d
This commit is contained in:
parent
54d72f0643
commit
172c944a5b
@ -31,7 +31,9 @@
|
||||
|
||||
// ... it doesn't seem to work with this symbol at least.
|
||||
#ifndef USING_LIBGCC
|
||||
# if __GNUC__ >= 3
|
||||
# if __GNUC__ >= 6
|
||||
const std::nothrow_t std::nothrow = std::nothrow_t{ };
|
||||
# elif __GNUC__ >= 3
|
||||
const std::nothrow_t std::nothrow = {};
|
||||
# else
|
||||
const nothrow_t std::nothrow = {};
|
||||
|
Loading…
Reference in New Issue
Block a user