From 732dd69e4d9e1b70edffad9829e34d84155cd91b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 18 Jul 2017 14:55:38 +0300 Subject: Adapt to non-optional buildtab target --- mod/build-config.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/build-config.cxx') 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 -- cgit v1.1