mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Fixed clazy warnings: rule of zero/three/five.
This commit is contained in:
@@ -297,6 +297,9 @@ namespace BlackMisc
|
||||
//! Move constructor
|
||||
CDictionary(CDictionary &&other) noexcept : m_impl(std::move(other.m_impl)) {}
|
||||
|
||||
//! Destructor
|
||||
~CDictionary() = default;
|
||||
|
||||
//! Returns iterator at the beginning of the dictionary
|
||||
iterator begin() { return m_impl.begin(); }
|
||||
|
||||
|
||||
@@ -58,6 +58,9 @@ namespace BlackMisc
|
||||
//! Move assignment operator.
|
||||
CVariantMap &operator =(CVariantMap &&other) noexcept { CDictionary::operator =(std::move(other)); return *this; }
|
||||
|
||||
//! Destructor.
|
||||
~CVariantMap() = default;
|
||||
|
||||
//! Insert values from this map into an existing JSON object.
|
||||
QJsonObject &mergeToJson(QJsonObject &json) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user