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:
parent
f25e855839
commit
ae8ffc42cf
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user