if (CanRead() || CanWrite())
return Status(ERROR_ALREADY_EXISTS, eErrorTypeWin32);
- std::string pipe_path = g_pipe_name_prefix;
+ std::string pipe_path = g_pipe_name_prefix.str();
pipe_path.append(name.str());
// Always open for overlapped i/o. We implement blocking manually in Read
SECURITY_ATTRIBUTES attributes = {};
attributes.bInheritHandle = child_process_inherit;
- std::string pipe_path = g_pipe_name_prefix;
+ std::string pipe_path = g_pipe_name_prefix.str();
pipe_path.append(name.str());
if (is_read) {