summaryrefslogtreecommitdiff
path: root/netwerk/base/nsSocketTransport2.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/nsSocketTransport2.h')
-rw-r--r--netwerk/base/nsSocketTransport2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/base/nsSocketTransport2.h b/netwerk/base/nsSocketTransport2.h
index 60084d53e2..cb107e6e79 100644
--- a/netwerk/base/nsSocketTransport2.h
+++ b/netwerk/base/nsSocketTransport2.h
@@ -306,8 +306,8 @@ private:
uint16_t SocketPort() { return (!mProxyHost.IsEmpty() && !mProxyTransparent) ? mProxyPort : mPort; }
const nsCString &SocketHost() { return (!mProxyHost.IsEmpty() && !mProxyTransparent) ? mProxyHost : mHost; }
- Atomic<bool> mInputClosed = true;
- Atomic<bool> mOutputClosed = true;
+ Atomic<bool> mInputClosed{true};
+ Atomic<bool> mOutputClosed{true};
//-------------------------------------------------------------------------
// members accessible only on the socket transport thread:
@@ -456,7 +456,7 @@ private:
int32_t mKeepaliveRetryIntervalS;
int32_t mKeepaliveProbeCount;
- Atomic<bool> mDoNotRetryToConnect = false;
+ Atomic<bool> mDoNotRetryToConnect{false};
};
} // namespace net