From 772c3a09a8c99c3d032b1564f5da9ebbc766b3f1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Aug 2017 18:20:38 +0200 Subject: Minor changes --- build2/cc/compile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cc') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 79d40c3..bfc79c9 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -2052,7 +2052,7 @@ namespace build2 if (!pfx_map->empty ()) { dir_path d (f.directory ()); - auto i (pfx_map->find_sub (d)); + auto i (pfx_map->find_sup (d)); if (i != pfx_map->end ()) { @@ -2097,7 +2097,7 @@ namespace build2 { // Find the most qualified prefix of which we are a sub-path. // - auto i (so_map.find_sub (f)); + auto i (so_map.find_sup (f)); if (i != so_map.end ()) { // Ok, there is an out tree for this headers. Remap to a path -- cgit v1.1