diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-10-04 03:18:39 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-10-04 03:18:49 +0200 |
commit | 4c3efb82b9f47ca92973089413da994619ddeb5c (patch) | |
tree | 598724e0f9198cd27cfb8cbe5a8e36904cfedf58 /lib/accountregistry.cpp | |
parent | 92024f20fd8cfe4adb586b1d477969e45ba9ab4d (diff) | |
download | libquotient-4c3efb82b9f47ca92973089413da994619ddeb5c.tar.gz libquotient-4c3efb82b9f47ca92973089413da994619ddeb5c.zip |
AccountRegistry: minor code cleanup
Diffstat (limited to 'lib/accountregistry.cpp')
-rw-r--r-- | lib/accountregistry.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/accountregistry.cpp b/lib/accountregistry.cpp index 3a022f14..a292ed45 100644 --- a/lib/accountregistry.cpp +++ b/lib/accountregistry.cpp @@ -36,8 +36,7 @@ bool AccountRegistry::contains(Connection *c) const return m_accounts.contains(c); } -AccountRegistry::AccountRegistry() -{} +AccountRegistry::AccountRegistry() = default; QVariant AccountRegistry::data(const QModelIndex &index, int role) const { @@ -95,4 +94,4 @@ Connection* AccountRegistry::get(const QString& userId) } } return nullptr; -}
\ No newline at end of file +} |