aboutsummaryrefslogtreecommitdiff
path: root/mod/build-config.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 14:55:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 14:55:38 +0300
commit732dd69e4d9e1b70edffad9829e34d84155cd91b (patch)
tree4bc1e8b26b1947b982ceb593257c5ab3f1cb268a /mod/build-config.cxx
parent67d190d15e5a8ad865dbbf21fdf7dcb7b1168cdd (diff)
Adapt to non-optional buildtab target
Diffstat (limited to 'mod/build-config.cxx')
-rw-r--r--mod/build-config.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/build-config.cxx b/mod/build-config.cxx
index fed2ee9..ecbcf6f 100644
--- a/mod/build-config.cxx
+++ b/mod/build-config.cxx
@@ -152,8 +152,7 @@ namespace brep
const build_config& c)
{
return path_match (config_pattern, c.name) &&
- (!target_pattern ||
- (c.target && path_match (*target_pattern, c.target->string ())));
+ (!target_pattern || path_match (*target_pattern, c.target.string ()));
}
bool