Fixed diagram paths filtering

This commit is contained in:
Bartek Kryza
2022-04-16 12:21:38 +02:00
parent 26d46852e4
commit e076bc7c29
13 changed files with 151 additions and 48 deletions

View File

@@ -90,10 +90,12 @@ public:
{
std::filesystem::path res;
for (const auto &pe : path_) {
res /= pe;
for (const auto &path_element : path_) {
res /= path_element;
}
res /= name();
if (is_absolute_)
res = "/" / res;
else