diff options
Diffstat (limited to 'build2/test/common.cxx')
-rw-r--r-- | build2/test/common.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/common.cxx b/build2/test/common.cxx index afd52e6..66be9d8 100644 --- a/build2/test/common.cxx +++ b/build2/test/common.cxx @@ -143,7 +143,7 @@ namespace build2 t.name == n->value && // Name matches. tt.name == n->type && // Target type matches. d == n->dir && // Directory matches. - &search (*n, *root_) == &t; + search (*n, *root_) == t; if (r) break; @@ -190,7 +190,7 @@ namespace build2 t.name == n->value && tt.name == n->type && d == n->dir && - &search (*n, *root_) == &t; + search (*n, *root_) == t; if (!r) continue; // Not our target. |