diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-24 08:27:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-24 08:27:04 +0200 |
commit | fdb050b4b1b966683ff00dd14b268fe395492358 (patch) | |
tree | b4da8e293eef9d8682c14cf64f2ed25cc1cc75ab /build/path.txx | |
parent | 52925684387496e83425c79f74b29a91943466a7 (diff) |
Use prefix_map for scopes, establish root scope
Diffstat (limited to 'build/path.txx')
-rw-r--r-- | build/path.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/path.txx b/build/path.txx index 881dc17..5fbabbd 100644 --- a/build/path.txx +++ b/build/path.txx @@ -58,7 +58,7 @@ namespace build basic_path<C>& basic_path<C>:: operator/= (basic_path<C> const& r) { - if (r.absolute ()) + if (r.absolute () && !path_.empty ()) // Allow ('' / '/foo'). throw invalid_basic_path<C> (r.path_); if (path_.empty () || r.path_.empty ()) |