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,7 +11,11 @@ class SettingsVariableBase::Impl
public:
explicit Impl(const std::string& name) : name_ {name} {}
~Impl() {}
~Impl() = default;
Impl(const Impl&) = delete;
Impl& operator=(const Impl&) = delete;
Impl(const Impl&&) = delete;
Impl& operator=(const Impl&&) = delete;
const std::string name_;