aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index 24bd246..f04e26f 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -630,7 +630,7 @@ namespace build2
{
// Relock for exclusive access and change to the load phase.
//
- rlock rl (model_lock);
+ model_rlock rl;
phase_guard pg (run_phase::load);
pair<scope&, scope*> sp (switch_scope (*s.root_scope (), out_base));