Skip to content

Commit 78f9a0b

Browse files
committed
Adhere to code and format requirements
1 parent 3be305e commit 78f9a0b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ option(
215215
"Whether to include gzip compression for the OTLP http exporter in the SDK"
216216
OFF)
217217

218-
option(WITH_CURL_LOGGING "Whether to enable select CURL verbosity in OTel logs" OFF)
218+
option(WITH_CURL_LOGGING "Whether to enable select CURL verbosity in OTel logs"
219+
OFF)
219220

220221
option(WITH_ZIPKIN "Whether to include the Zipkin exporter in the SDK" OFF)
221222

ext/include/opentelemetry/ext/http/client/curl/http_client_curl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Request : public opentelemetry::ext::http::client::Request
102102
compression_ = compression;
103103
}
104104

105-
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; };
105+
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; }
106106

107107
public:
108108
opentelemetry::ext::http::client::Method method_;

ext/include/opentelemetry/ext/http/client/curl/http_operation_curl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class HttpOperation
159159
bool is_raw_response = false,
160160
std::chrono::milliseconds http_conn_timeout = default_http_conn_timeout,
161161
bool reuse_connection = false,
162-
bool needs_to_log_ = false);
162+
bool needs_to_log = false);
163163

164164
/**
165165
* Destroy CURL instance

test_common/include/opentelemetry/test_common/ext/http/client/nosend/http_client_nosend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Request : public opentelemetry::ext::http::client::Request
6969
compression_ = compression;
7070
}
7171

72-
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; };
72+
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; }
7373

7474
public:
7575
opentelemetry::ext::http::client::Method method_;

0 commit comments

Comments
 (0)