aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-01-08 11:46:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-01-08 11:46:35 +0200
commit9dfd8f7c6902c7b38f34ca6f87d712d6dcefe3a2 (patch)
tree4838807a763aef3d76f241813e8f0cc9eaf0cb02 /libbuild2/scope.hxx
parent2a980b6adec572caf95ae4b0b2cd90078856515f (diff)
Improve documentation comment
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 8e25d78..e53a7ca 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -101,8 +101,8 @@ namespace build2
scope& global_scope () {return const_cast<scope&> (ctx.global_scope);}
const scope& global_scope () const {return ctx.global_scope;}
- // Return true if the specified root scope is a sub-scope of this root
- // scope. Note that both scopes must be root.
+ // Return true if the specified root scope is a sub-scope of (but not the
+ // same as) this root scope. Note that both scopes must be root.
//
bool
sub_root (const scope&) const;