diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-02 11:55:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:41 +0200 |
commit | d263455d5ac0d87541144dd7a37eb6255b721a89 (patch) | |
tree | 97b56b4f817c61de5fa543cfa6d94bab5f05c5c0 /build2/cc/compile.cxx | |
parent | 53f02bf28dae507a51515ed6ac03226d68816494 (diff) |
Redesign target_set interface in preparation for locking
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 1fed762..590ba7c 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -981,8 +981,7 @@ namespace build2 // an existing file) and go straight for the target object since // we need to find the target explicitly spelled out. // - auto i (targets.find (*tt, d, out, n, e, trace)); - r = i != targets.end () ? i->get () : nullptr; + r = targets.find (*tt, d, out, n, e, trace); } return static_cast<path_target*> (r); |