Fixed class template handling

This commit is contained in:
Bartek Kryza
2022-05-07 19:59:13 +02:00
parent f264d71d3b
commit f5d80e90a3
11 changed files with 185 additions and 91 deletions

View File

@@ -56,8 +56,8 @@ public:
{
assert(p);
LOG_DBG(
"Adding nested element {} at path {}", p->name(), path.to_string());
LOG_DBG("Adding nested element {} at path '{}'", p->name(),
path.to_string());
if (path.is_empty()) {
add_element(std::move(p));

View File

@@ -39,7 +39,7 @@ public:
std::copy(begin, end, std::back_inserter(path_));
}
path(const path &right) noexcept = default;
path(const path &right) { path_ = right.path_; }
path &operator=(const path &right) noexcept = default;