From 69801c4e23f877359118e55ed291737f4fbece04 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2016 09:45:20 +0200 Subject: Add variable cast from lookup --- build2/target.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/target.txx') diff --git a/build2/target.txx b/build2/target.txx index 2cb4d2e..b7d41f2 100644 --- a/build2/target.txx +++ b/build2/target.txx @@ -26,7 +26,7 @@ namespace build2 { // Help the user here and strip leading '.' from the extension. // - const string& e (cast (*l)); + const string& e (cast (l)); return &extension_pool.find ( !e.empty () && e.front () == '.' ? string (e, 1) : e); } -- cgit v1.1