[libcxx] r347416 - Fix missing includes in test header

Eric Fiselier eric at efcs.ca
Wed Nov 21 12:39:24 PST 2018


Author: ericwf
Date: Wed Nov 21 12:39:24 2018
New Revision: 347416

URL: http://llvm.org/viewvc/llvm-project?rev=347416&view=rev
Log:
Fix missing includes in test header

Modified:
    libcxx/trunk/test/support/counting_predicates.hpp

Modified: libcxx/trunk/test/support/counting_predicates.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/counting_predicates.hpp?rev=347416&r1=347415&r2=347416&view=diff
==============================================================================
--- libcxx/trunk/test/support/counting_predicates.hpp (original)
+++ libcxx/trunk/test/support/counting_predicates.hpp Wed Nov 21 12:39:24 2018
@@ -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




More information about the libcxx-commits mailing list