mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 03:40:04 +00:00
Use default destructor, and add move/copy operators to settings impls
This commit is contained in:
parent
f84a86a3a3
commit
05c05fec5c
17 changed files with 90 additions and 20 deletions
|
|
@ -17,8 +17,12 @@ template<class T>
|
|||
class SettingsVariable<T>::Impl
|
||||
{
|
||||
public:
|
||||
explicit Impl() {}
|
||||
~Impl() {}
|
||||
explicit Impl() = default;
|
||||
~Impl() = default;
|
||||
Impl(const Impl&) = delete;
|
||||
Impl& operator=(const Impl&) = delete;
|
||||
Impl(const Impl&&) = delete;
|
||||
Impl& operator=(const Impl&&) = delete;
|
||||
|
||||
T value_ {};
|
||||
T default_ {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue