refactor: Remove unused util::is_ready() function

Commit ffd4c731a2c7c09f34e7b81a16e04bdf91fa973d introduced the
`util::is_ready()` function, which has never been used internally and is
not part of the public API.

This change removes the function.
This commit is contained in:
Hennadii Stepanov 2025-04-24 15:17:35 +01:00
parent 98a88e2499
commit b4c3a3f2f5
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -182,12 +182,6 @@ using env_vector_t = std::vector<platform_char_t>;
//--------------------------------------------------------------------
namespace util
{
template <typename R>
inline bool is_ready(std::shared_future<R> const &f)
{
return f.wait_for(std::chrono::seconds(0)) == std::future_status::ready;
}
inline void quote_argument(const std::wstring &argument, std::wstring &command_line,
bool force)
{