Use default destructor, and add move/copy operators to settings impls

This commit is contained in:
AdenKoperczak 2025-01-29 10:18:26 -05:00
parent f84a86a3a3
commit 05c05fec5c
17 changed files with 90 additions and 20 deletions

View file

@ -11,9 +11,13 @@ template<class Container>
class SettingsContainer<Container>::Impl
{
public:
explicit Impl() {}
explicit Impl() = default;
~Impl() {}
~Impl() = default;
Impl(const Impl&) = delete;
Impl& operator=(const Impl&) = delete;
Impl(const Impl&&) = delete;
Impl& operator=(const Impl&&) = delete;
T elementDefault_ {};
std::optional<T> elementMinimum_ {};