mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-23 08:28:48 +00:00
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:
parent
138e373ace
commit
68f4d5bb59
@ -75,7 +75,7 @@ void readfile(const std::string& filename, std::string& data)
|
|||||||
}
|
}
|
||||||
namespace network
|
namespace network
|
||||||
{
|
{
|
||||||
bool is_unix_scheme(nonstd::string_view url)
|
bool is_unix_scheme(const std::string& url)
|
||||||
{
|
{
|
||||||
return url.starts_with(UNIX_SCHEME);
|
return url.starts_with(UNIX_SCHEME);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ uint32_t hardware_concurrency();
|
|||||||
namespace network
|
namespace network
|
||||||
{
|
{
|
||||||
static const std::string UNIX_SCHEME("unix://");
|
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 network
|
||||||
} // namespace utils
|
} // namespace utils
|
||||||
} // namespace falco
|
} // namespace falco
|
||||||
|
Loading…
Reference in New Issue
Block a user