Merge pull request #248 into master

a84c404c container: root: internal: fix calling base CRTP template functions (Aaron Fiore)
This commit was merged in pull request #248.
This commit is contained in:
2025-12-01 16:30:04 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ class HashImpl : public ::dfi::internal::Transform<t_impl>
message.push_back(decoded);
}
return t_impl::that()->template hash<t_hash, t_encoded>(message);
return this->t_impl::that()->template hash<t_hash, t_encoded>(message);
}
//! \brief
@@ -142,7 +142,7 @@ class HashImpl : public ::dfi::internal::Transform<t_impl>
static_assert(
std::is_same_v<t_encoded, std::string>, "Hash interface has changed");
return t_impl::that()->template hash<t_hash, t_encoded>(decoded);
return this->t_impl::that()->template hash<t_hash, t_encoded>(decoded);
}
};
} // namespace common

View File

@@ -82,7 +82,7 @@ class RandomImpl : public ::dfi::internal::Random<t_impl>
type::is_real_integral<t_random>::value,
"Random interface has changed");
return t_impl::that()->template generate<t_random>();
return this->t_impl::that()->template generate<t_random>();
}
};
} // namespace common