aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r--libbuild2/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index 50c6d53..a8304ff 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -304,7 +304,7 @@ namespace build2
}
assert (tgs.size () == 1);
- const target& l (tgs[0].as_target ());
+ const target& l (tgs[0].as<target> ());
if (!l.is_a ("libs"))
fail (loc) << "wrong export from build system module " << mod;