Use brace initialization for _stream_cancelled.

This commit is contained in:
tastytea 2020-01-26 04:10:59 +01:00
parent fe5ac46d52
commit b82d779119
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -40,7 +40,7 @@ static atomic<uint16_t> curlwrapper_instances{0};
CURLWrapper::CURLWrapper() CURLWrapper::CURLWrapper()
: _curl_buffer_error{} : _curl_buffer_error{}
, _stream_cancelled(false) , _stream_cancelled{false}
{ {
if (curlwrapper_instances == 0) if (curlwrapper_instances == 0)
{ {