mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-21 23:30:38 +08:00
Fix missing includes in test header
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user