aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r--libbuild2/bin/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx
index ab4b686..34bfcd7 100644
--- a/libbuild2/bin/init.cxx
+++ b/libbuild2/bin/init.cxx
@@ -150,7 +150,7 @@ namespace build2
// We only support root loading (which means there can only be one).
//
- if (&rs != &bs)
+ if (rs != bs)
fail (loc) << "bin.config module must be loaded in project root";
// Load bin.vars.