summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-11-21 20:39:24 +0000
committerEric Fiselier <eric@efcs.ca>2018-11-21 20:39:24 +0000
commit74fb1631840abda6de42929c4cdac0528f4cba3f (patch)
treed0727e08023b43238ad19aadb4f0864f3ae92a14
parent1d0c7f563cec231bca73e5c4a2c991566af0fab0 (diff)
downloadbcm5719-llvm-74fb1631840abda6de42929c4cdac0528f4cba3f.tar.gz
bcm5719-llvm-74fb1631840abda6de42929c4cdac0528f4cba3f.zip
Fix missing includes in test header
llvm-svn: 347416
-rw-r--r--libcxx/test/support/counting_predicates.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/libcxx/test/support/counting_predicates.hpp b/libcxx/test/support/counting_predicates.hpp
index 050b51b75bb..a0b3ca518ec 100644
--- a/libcxx/test/support/counting_predicates.hpp
+++ b/libcxx/test/support/counting_predicates.hpp
@@ -7,9 +7,10 @@
//
//===----------------------------------------------------------------------===//
-#ifndef __COUNTING_PREDICATES_H
-#define __COUNTING_PREDICATES_H
+#ifndef TEST_SUPPORT_COUNTING_PREDICATES_H
+#define TEST_SUPPORT_COUNTING_PREDICATES_H
+#include <cstddef>
template <typename Predicate, typename Arg>
struct unary_counting_predicate {
@@ -27,7 +28,7 @@ public:
private:
Predicate p_;
mutable size_t count_;
- };
+};
template <typename Predicate, typename Arg1, typename Arg2=Arg1>
@@ -47,6 +48,6 @@ public:
private:
Predicate p_;
mutable size_t count_;
- };
+};
-#endif // __COUNTING_PREDICATES_H
+#endif // TEST_SUPPORT_COUNTING_PREDICATES_H
OpenPOWER on IntegriCloud