aboutsummaryrefslogtreecommitdiff
path: root/build2/prerequisite
diff options
context:
space:
mode:
Diffstat (limited to 'build2/prerequisite')
-rw-r--r--build2/prerequisite3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/prerequisite b/build2/prerequisite
index 7c913f3..e53bb41 100644
--- a/build2/prerequisite
+++ b/build2/prerequisite
@@ -130,6 +130,9 @@ namespace build2
template <typename T>
bool
is_a () const {return type.is_a<T> ();}
+
+ bool
+ is_a (const target_type_type& tt) const {return type.is_a (tt);}
};
inline bool