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 0d2d9b5..2f1e6db 100644
--- a/libbuild2/bin/init.cxx
+++ b/libbuild2/bin/init.cxx
@@ -329,7 +329,7 @@ namespace build2
l5 ([&]{trace << "canonical target: '" << t.string () << "'; "
<< "class: " << t.class_;});
- assert (!hint || s == t.string ());
+ assert (!hint || s == t.representation ());
// Also enter as bin.target.{cpu,vendor,system,version,class}
// for convenience of access.