summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/curl_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/utils/curl_context.cpp')
-rw-r--r--src/other_tools/utils/curl_context.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/other_tools/utils/curl_context.cpp b/src/other_tools/utils/curl_context.cpp
index 3e0b514e..7006d727 100644
--- a/src/other_tools/utils/curl_context.cpp
+++ b/src/other_tools/utils/curl_context.cpp
@@ -21,9 +21,8 @@ extern "C" {
#include <curl/curl.h>
}
-CurlContext::CurlContext() noexcept {
- // NOLINTNEXTLINE(hicpp-signed-bitwise)
- initialized_ = curl_global_init(CURL_GLOBAL_DEFAULT) >= 0;
+CurlContext::CurlContext() noexcept
+ : initialized_{curl_global_init(CURL_GLOBAL_DEFAULT) >= 0} {
if (not initialized_) {
Logger::Log(LogLevel::Error, "initializing libcurl failed");
}