diff options
Diffstat (limited to 'mod/build-config.cxx')
-rw-r--r-- | mod/build-config.cxx | 3 |
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 |