[libc++] Fix warnings with Clang in C++03
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
// template <MoveConstructible R, MoveConstructible ... ArgTypes>
|
||||
// void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&) noexcept;
|
||||
|
||||
// This test runs in C++03, but we have deprecated using std::function in C++03.
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <functional>
|
||||
#include <cstdlib>
|
||||
|
||||
Reference in New Issue
Block a user