aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-09 10:50:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-09 10:50:42 +0200
commit101987533ca35e4aa3515b25415f1abba46e796f (patch)
tree076fcafb99a6d6c4d10b9eb1ad965d2b6748e260 /libbuild2/file.ixx
parent932519463bca296054a3b5a8e07ad3505160a91b (diff)
Add support for ad hoc importation
Diffstat (limited to 'libbuild2/file.ixx')
-rw-r--r--libbuild2/file.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/file.ixx b/libbuild2/file.ixx
index 4a9f411..bd138a0 100644
--- a/libbuild2/file.ixx
+++ b/libbuild2/file.ixx
@@ -8,7 +8,7 @@ namespace build2
inline bool
source_once (scope& root, scope& base, const path& bf)
{
- return source_once (root, base, bf, base);
+ return source_once (root, base, bf, root);
}
inline pair<name, optional<dir_path>>