Fix missing includes in test header

llvm-svn: 347416
This commit is contained in:
Eric Fiselier 2018-11-21 20:39:24 +00:00
parent 1d0c7f563c
commit 74fb163184
1 changed files with 6 additions and 5 deletions

View File

@ -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