aboutsummaryrefslogtreecommitdiff
path: root/build/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build/target.ixx')
-rw-r--r--build/target.ixx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/target.ixx b/build/target.ixx
index 3d48904..6bcd265 100644
--- a/build/target.ixx
+++ b/build/target.ixx
@@ -50,8 +50,11 @@ namespace build
// Switch to member iteration mode.
//
- if (i_ != r_->e_ && i_->get ().type.see_through)
- switch_members ();
+ if (r_->members_ && i_ != r_->e_ && i_->get ().type.see_through)
+ {
+ bool r (switch_members ());
+ assert (r); // Group could not be resolved.
+ }
return *this;
}