aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index 34f3f72..7327b1b 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -54,7 +54,7 @@ namespace build2
target::combine_name (v, ext, false /* @@ TODO: what to do? */);
}
else
- assert (!ext);
+ assert (!ext || ext->empty ()); // Unspecified or none.
r.emplace_back (*dir, type->name, move (v));
@@ -547,7 +547,7 @@ namespace build2
}
}
else
- assert (!k.ext);
+ assert (!k.ext || k.ext->empty ()); // Unspecified or none.
}
else
to_stream (os,