Fix MSVC build.

This commit is contained in:
Victor Zverovich
2014-05-03 10:10:50 -07:00
parent 1a2d7be3f5
commit 8214a5ef5e
2 changed files with 14 additions and 16 deletions
+3 -1
View File
@@ -202,7 +202,9 @@ class FileDescriptor {
// necessary.
void dup2(int fd, ErrorCode &ec) FMT_NOEXCEPT(true);
static void pipe(FileDescriptor &read_fd, FileDescriptor &write_fd);
// Creates a pipe setting up read and write file descriptors for reading
// and writing respecively. Throws fmt::SystemError on error.
static void pipe(FileDescriptor &read, FileDescriptor &write);
};
#if !FMT_USE_RVALUE_REFERENCES