mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-04 20:36:20 -04:00
Allow usage in multiple object files (#39)
This commit is contained in:
parent
f6799fcc34
commit
785ff230a8
@ -146,12 +146,13 @@ public:
|
||||
|
||||
namespace util
|
||||
{
|
||||
template <typename R> bool is_ready(std::shared_future<R> const &f)
|
||||
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;
|
||||
}
|
||||
|
||||
void quote_argument(const std::wstring &argument, std::wstring &command_line,
|
||||
inline void quote_argument(const std::wstring &argument, std::wstring &command_line,
|
||||
bool force)
|
||||
{
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user