mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #93, initialize all member pointers to nullptr at the top of the constructor, as mentioned by MS in #93
This commit is contained in:
@@ -24,7 +24,8 @@ namespace BlackCore
|
||||
* Init this context
|
||||
*/
|
||||
CContextNetwork::CContextNetwork(CCoreRuntime *runtime) :
|
||||
IContextNetwork(runtime), m_network(nullptr)
|
||||
IContextNetwork(runtime), m_network(nullptr), m_networkManager(nullptr),
|
||||
m_atcBookingTimer(nullptr), m_dataUpdateTimer(nullptr)
|
||||
{
|
||||
|
||||
// 1. Init by "network driver"
|
||||
|
||||
Reference in New Issue
Block a user