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

@ -46,7 +46,12 @@ public:
highlightColor_.SetValidator(&util::color::ValidateArgbString);
borderColor_.SetValidator(&util::color::ValidateArgbString);
}
~Impl() {}
~Impl() = default;
Impl(const Impl&) = delete;
Impl& operator=(const Impl&) = delete;
Impl(const Impl&&) = delete;
Impl& operator=(const Impl&&) = delete;
SettingsVariable<std::string> lineColor_ {"line_color"};
SettingsVariable<std::string> highlightColor_ {"highlight_color"};