From 5607313a91e5ca0113b1f8b9acfd02c1fb105346 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Jan 2017 12:45:04 +0200 Subject: Get rid of project_name_pool With small string optimizations this is most likely a hindrance rather that an optimization. --- build2/install/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/install/rule.cxx') diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx index a368ac9..036f01f 100644 --- a/build2/install/rule.cxx +++ b/build2/install/rule.cxx @@ -157,7 +157,7 @@ namespace build2 // Ignore unresolved targets that are imported from other projects. // We are definitely not installing those. // - if (p.proj () != nullptr) + if (p.proj ()) continue; // Let a customized rule have its say. -- cgit v1.1