diff options
Diffstat (limited to 'build2/algorithm.ixx')
-rw-r--r-- | build2/algorithm.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm.ixx b/build2/algorithm.ixx index 0c171fd..b8c33d4 100644 --- a/build2/algorithm.ixx +++ b/build2/algorithm.ixx @@ -56,8 +56,8 @@ namespace build2 const string* ext, const scope* scope) { - return static_cast<T&> ( - search (T::static_type, dir, out, name, ext, scope)); + return search ( + T::static_type, dir, out, name, ext, scope).template as<T> (); } pair<const rule*, match_result> |