Skip to content

Commit 3641640

Browse files
committed
1
1 parent effa3f2 commit 3641640

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/iceberg/catalog/rest/http_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Status HandleFailureResponse(const cpr::Response& response,
135135
} // namespace
136136

137137
void HttpClient::PrepareSession(
138-
const std::string& path, const HttpMethod& method,
138+
const std::string& path, HttpMethod method,
139139
const std::unordered_map<std::string, std::string>& params,
140140
const std::unordered_map<std::string, std::string>& headers) {
141141
session_->SetUrl(cpr::Url{path});

src/iceberg/catalog/rest/http_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ICEBERG_REST_EXPORT HttpClient {
110110
const ErrorHandler& error_handler);
111111

112112
private:
113-
void PrepareSession(const std::string& path, const HttpMethod& method,
113+
void PrepareSession(const std::string& path, HttpMethod method,
114114
const std::unordered_map<std::string, std::string>& params,
115115
const std::unordered_map<std::string, std::string>& headers);
116116

0 commit comments

Comments
 (0)