[libcxx-commits] [libcxx] 73370b2 - [libc++] Add missing include in test
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 30 11:17:04 PDT 2020
Author: Louis Dionne
Date: 2020-06-30T14:16:47-04:00
New Revision: 73370b2c0ce80810ff945f763dd61a98778a8e8f
URL: https://github.com/llvm/llvm-project/commit/73370b2c0ce80810ff945f763dd61a98778a8e8f
DIFF: https://github.com/llvm/llvm-project/commit/73370b2c0ce80810ff945f763dd61a98778a8e8f.diff
LOG: [libc++] Add missing include in test
Added:
Modified:
libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp b/libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp
index d60b3be31573..61cdc2f10bd9 100644
--- a/libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp
+++ b/libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp
@@ -12,8 +12,9 @@
// Test that libc++ generates a warning diagnostic when the container is
// provided a non-const callable comparator.
-#include <set>
#include <map>
+#include <set>
+#include <type_traits> // for __invokable
struct BadCompare {
template <class T, class U>
More information about the libcxx-commits
mailing list