From b82d7791197dcf1391861b46355412a030861fef Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 26 Jan 2020 04:10:59 +0100 Subject: [PATCH] Use brace initialization for _stream_cancelled. --- src/curl_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp index e588f63..01f1db1 100644 --- a/src/curl_wrapper.cpp +++ b/src/curl_wrapper.cpp @@ -40,7 +40,7 @@ static atomic curlwrapper_instances{0}; CURLWrapper::CURLWrapper() : _curl_buffer_error{} - , _stream_cancelled(false) + , _stream_cancelled{false} { if (curlwrapper_instances == 0) {