1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: Comply with Wreorder

Don't reorder constructor init from class claration order.
This commit is contained in:
Anthony Bilinski 2022-03-10 23:30:22 -08:00
parent f25e855839
commit ae8ffc42cf
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@ FriendMessageDispatcher::FriendMessageDispatcher(Friend& f_, MessageProcessor pr
ICoreFriendMessageSender& messageSender_,
ICoreExtPacketAllocator& coreExtPacketAllocator_)
: f(f_)
, coreExtPacketAllocator(coreExtPacketAllocator_)
, messageSender(messageSender_)
, processor(std::move(processor_))
, coreExtPacketAllocator(coreExtPacketAllocator_)
{
connect(&f, &Friend::onlineOfflineChanged, this, &FriendMessageDispatcher::onFriendOnlineOfflineChanged);
}

View File

@ -221,9 +221,9 @@ void createExampleBootstrapNodesFile(const Paths& paths)
* @param proxy Proxy to use for the lookup, must outlive this object
*/
BootstrapNodeUpdater::BootstrapNodeUpdater(const QNetworkProxy& proxy_, Paths& paths_, QObject* parent)
: proxy{proxy_}
: QObject{parent}
, proxy{proxy_}
, paths{paths_}
, QObject{parent}
{
createExampleBootstrapNodesFile(paths_);
}