Fixed root namespace handling

This commit is contained in:
Bartek Kryza
2022-06-18 17:48:57 +02:00
parent bb689db81a
commit c82002e8ee
9 changed files with 55 additions and 24 deletions

View File

@@ -52,7 +52,7 @@ public:
source_file(const std::filesystem::path &p)
{
set_path(p.parent_path().string());
set_path({p.parent_path().string()});
set_name(p.filename());
is_absolute_ = p.is_absolute();
}