aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/init.cxx')
-rw-r--r--libbuild2/cc/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/init.cxx b/libbuild2/cc/init.cxx
index 8d66376..2a0dbd2 100644
--- a/libbuild2/cc/init.cxx
+++ b/libbuild2/cc/init.cxx
@@ -399,7 +399,7 @@ namespace build2
// We only support root loading (which means there can only be one).
//
- if (&rs != &bs)
+ if (rs != bs)
fail (loc) << m << " module must be loaded in project root";
// We want to order the loading to match what user specified on the