[libc++] Fix warnings with Clang in C++03
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
// template <MoveConstructible R, MoveConstructible ... ArgTypes>
|
||||
// bool operator!=(nullptr_t, const function<R(ArgTypes...)>&);
|
||||
|
||||
// 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 <cassert>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user