JosiahWI commented on PR #14099:
URL: https://github.com/apache/trafficserver/pull/14099#issuecomment-6955858593
```
../src/proxy/http/remap/UrlRewrite.cc:280:26: error: no matching member
function for call to 'find'
if (auto it = h_table->find(std::string_view{request_host,
static_cast<size_t>(request_host_len)}); it != h_table->end()) {
~~~~~~~~~^~~~
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unordered_map.h:921:7:
note: candidate function not viable: no known conversion from
'std::string_view' (aka 'basic_string_view<char>') to 'const
std::unordered_map<std::basic_string<char>, UrlMappingPathIndex *,
UrlRewrite::HostHash, std::equal_to<>>::key_type' (aka 'const
std::basic_string<char>') for 1st argument
find(const key_type& __x)
^
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unordered_map.h:925:7:
note: candidate function not viable: no known conversion from
'std::string_view' (aka 'basic_string_view<char>') to 'const
std::unordered_map<std::basic_string<char>, UrlMappingPathIndex *,
UrlRewrite::HostHash, std::equal_to<>>::key_type' (aka 'const
std::basic_string<char>') for 1st argument
find(const key_type& __x) const
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]