aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-22 10:02:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-22 10:17:41 +0200
commitb47a323f09f1f9ccece03ca4d84dbe7a47ff8177 (patch)
tree7c520e5878b1988425520424c5e372f7439636d9 /libbuild2/file.cxx
parent1bbd6bdb1bbf6783aefd10392e5c0599318a927f (diff)
Move global mutex shards to context
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r--libbuild2/file.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index f0215df..68827ec 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1306,8 +1306,8 @@ namespace build2
// config.import.<proj>
//
{
- // Note: pattern-typed in context.cxx:reset() as an overridable
- // variable of type abs_dir_path (path auto-completion).
+ // Note: pattern-typed in context ctor as an overridable variable of
+ // type abs_dir_path (path auto-completion).
//
const variable& var (vp.insert (n));
@@ -1340,8 +1340,8 @@ namespace build2
{
auto lookup = [&iroot, &vp, &loc] (string name) -> path
{
- // Note: pattern-typed in context.cxx:reset() as an overridable
- // variable of type path.
+ // Note: pattern-typed in context ctor as an overridable variable of
+ // type path.
//
const variable& var (vp.insert (move (name)));