fix(userspace/engine): no need to use external deps

Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2022-11-28 17:02:02 +01:00 committed by poiana
parent 138e373ace
commit 68f4d5bb59
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ void readfile(const std::string& filename, std::string& data)
}
namespace network
{
bool is_unix_scheme(nonstd::string_view url)
bool is_unix_scheme(const std::string& url)
{
return url.starts_with(UNIX_SCHEME);
}

View File

@ -49,7 +49,7 @@ uint32_t hardware_concurrency();
namespace network
{
static const std::string UNIX_SCHEME("unix://");
bool is_unix_scheme(nonstd::string_view url);
bool is_unix_scheme(const std::string& url);
} // namespace network
} // namespace utils
} // namespace falco