forked from OSchip/llvm-project
[libc++] NFC: Simplify incude of <cstdlib>
We include <exception>, which includes <cstdlib> unconditionally anyway.
This commit is contained in:
parent
a7b6574144
commit
69ca17a92c
|
@ -42,11 +42,9 @@ public:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <__config>
|
#include <__config>
|
||||||
|
#include <cstdlib>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <iosfwd> // for string forward decl
|
#include <iosfwd> // for string forward decl
|
||||||
#ifdef _LIBCPP_NO_EXCEPTIONS
|
|
||||||
#include <cstdlib>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
|
|
Loading…
Reference in New Issue