Unify 'nullptr' initalization of class members; (#3805)

This commit is contained in:
RoboMagus
2022-09-15 01:53:02 +02:00
committed by Jesse Hills
parent cea7deab91
commit 6b23b7cad7
10 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -116,9 +116,9 @@ class APINoiseFrameHelper : public APIFrameHelper {
std::vector<uint8_t> prologue_;
std::shared_ptr<APINoiseContext> ctx_;
NoiseHandshakeState *handshake_ = nullptr;
NoiseCipherState *send_cipher_ = nullptr;
NoiseCipherState *recv_cipher_ = nullptr;
NoiseHandshakeState *handshake_{nullptr};
NoiseCipherState *send_cipher_{nullptr};
NoiseCipherState *recv_cipher_{nullptr};
NoiseProtocolId nid_;
enum class State {