diff options
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 4999f61..2cb4d2e 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 (as<string> (*l)); + const string& e (cast<string> (*l)); return &extension_pool.find ( !e.empty () && e.front () == '.' ? string (e, 1) : e); } |