diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-08-12 16:23:11 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-08-12 19:18:57 +0300 |
commit | d58ec4bf706515ce74f8f63aa284b867566fd9e7 (patch) | |
tree | 6349f1c16cbc37cbb86fd92f64068a512d7dd2ad /src/gui/accountstate.h | |
parent | 7bb54e34d77f03f5915715137cc14761e4815fc9 (diff) |
Enable the modernize-use-using check on clang-tidy
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/accountstate.h')
-rw-r--r-- | src/gui/accountstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/accountstate.h b/src/gui/accountstate.h index f1209a47a..7e390e167 100644 --- a/src/gui/accountstate.h +++ b/src/gui/accountstate.h @@ -32,8 +32,8 @@ class Account; class AccountApp; class RemoteWipe; -typedef QExplicitlySharedDataPointer<AccountState> AccountStatePtr; -typedef QList<AccountApp*> AccountAppList; +using AccountStatePtr = QExplicitlySharedDataPointer<AccountState>; +using AccountAppList = QList<AccountApp *>; /** * @brief Extra info about an ownCloud server account. @@ -75,7 +75,7 @@ public: }; /// The actual current connectivity status. - typedef ConnectionValidator::Status ConnectionStatus; + using ConnectionStatus = ConnectionValidator::Status; /// Use the account as parent explicit AccountState(AccountPtr account); |