summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/curl_url_handle.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-08 13:18:22 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-08 15:19:50 +0200
commit277be6dd08633dbebfda93afdfc6b5cb57e053e0 (patch)
tree6c86157c7f93636459361264054753a1dc9d33e9 /src/other_tools/utils/curl_url_handle.hpp
parent419a458ad9d4383eb47d51fe8e4408a0e240c2f1 (diff)
downloadjustbuild-277be6dd08633dbebfda93afdfc6b5cb57e053e0.tar.gz
Use properly included standard library types by default
Diffstat (limited to 'src/other_tools/utils/curl_url_handle.hpp')
-rw-r--r--src/other_tools/utils/curl_url_handle.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/other_tools/utils/curl_url_handle.hpp b/src/other_tools/utils/curl_url_handle.hpp
index 3d1e6949..476277f3 100644
--- a/src/other_tools/utils/curl_url_handle.hpp
+++ b/src/other_tools/utils/curl_url_handle.hpp
@@ -15,6 +15,7 @@
#ifndef INCLUDED_SRC_OTHER_TOOLS_UTILS_CURL_URL_HANDLE_HPP
#define INCLUDED_SRC_OTHER_TOOLS_UTILS_CURL_URL_HANDLE_HPP
+#include <cstddef>
#include <filesystem>
#include <functional>
#include <memory>
@@ -56,10 +57,10 @@ struct ConfigKeyMatchDegree {
// if a matching happened;
bool matched{false};
// length of config key's host field if host was matched
- size_t host_len{};
+ std::size_t host_len{};
// length of config key's path field if path was matched;
// comparison ends on a '/' char or the end of the path
- size_t path_len{};
+ std::size_t path_len{};
// signals a match for the user field between config key and remote URL,
// only if user field exists in config key
bool user_matched{false};