diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 09:45:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 16:03:35 +0200 |
commit | 69801c4e23f877359118e55ed291737f4fbece04 (patch) | |
tree | cd4cb504a5c28aafde601e2d5d4603a44c75b548 /build2/target.txx | |
parent | 3ce44330cca9dbc4314feebb27403ebc3175b6c2 (diff) |
Add variable cast from lookup
Diffstat (limited to 'build2/target.txx')
-rw-r--r-- | build2/target.txx | 2 |
1 files changed, 1 insertions, 1 deletions
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<string> (*l)); + const string& e (cast<string> (l)); return &extension_pool.find ( !e.empty () && e.front () == '.' ? string (e, 1) : e); } |