mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
Fix build on systems without cmd() implementation
This commit is contained in:
committed by
Klemens Morgenstern
parent
06946018d6
commit
818e11672e
@@ -403,10 +403,10 @@ shell cmd(boost::process::v2::pid_type pid, error_code & ec)
|
||||
}
|
||||
|
||||
#else
|
||||
filesystem::path cmd(boost::process::v2::pid_type, error_code & ec)
|
||||
shell cmd(boost::process::v2::pid_type, error_code & ec)
|
||||
{
|
||||
BOOST_PROCESS_V2_ASSIGN_EC(ec, ENOTSUP, system_category());
|
||||
return "";
|
||||
return {};
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user