From 6c1ea91ca421a1b899af091043abdb58c2ed57e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Feb 2022 07:10:09 +0200 Subject: Use target::as instead of static_cast everywhere --- libbuild2/version/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/version') diff --git a/libbuild2/version/rule.cxx b/libbuild2/version/rule.cxx index 4da4e3f..3da69cc 100644 --- a/libbuild2/version/rule.cxx +++ b/libbuild2/version/rule.cxx @@ -51,7 +51,7 @@ namespace build2 { tracer trace ("version::in_rule::match"); - file& t (static_cast (xt)); + file& t (xt.as ()); const scope& rs (t.root_scope ()); bool fm (false); // Found manifest. -- cgit v1.1