diff options
author | tastytea | 2020-01-26 04:10:59 +0100 |
---|---|---|
committer | tastytea | 2020-01-26 04:10:59 +0100 |
commit | b82d7791197dcf1391861b46355412a030861fef (patch) | |
tree | f8035fc78a2ccec9b9a85e2ded0f7742965ee1bb /src | |
parent | fe5ac46d526792696902bf4f01e0b70198ce008b (diff) | |
download | mastodonpp-b82d7791197dcf1391861b46355412a030861fef.tar mastodonpp-b82d7791197dcf1391861b46355412a030861fef.tar.gz mastodonpp-b82d7791197dcf1391861b46355412a030861fef.zip |
Use brace initialization for _stream_cancelled.
Diffstat (limited to 'src')
-rw-r--r-- | src/curl_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint16_t> curlwrapper_instances{0}; CURLWrapper::CURLWrapper() : _curl_buffer_error{} - , _stream_cancelled(false) + , _stream_cancelled{false} { if (curlwrapper_instances == 0) { |