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/scope.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build2/scope.hxx') diff --git a/build2/scope.hxx b/build2/scope.hxx index 2be2b3a..028dbce 100644 --- a/build2/scope.hxx +++ b/build2/scope.hxx @@ -336,6 +336,11 @@ namespace build2 // directory (i.e., the calling code does not know what it is dealing // with), so let's use the whole path. // + // In fact, ideally, we should have used path_map instead of + // dir_path_map to be able to search for both paths without any casting + // (and copies). But currently we have too much stuff pointing to the + // key. + // return find (path_cast (p)); } -- cgit v1.1