mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-09-08 06:44:02 -04:00
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:
parent
98a88e2499
commit
b4c3a3f2f5
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user