X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/eb3d5c6416c0f0d1cad35e52af3231de7866fea8..26ade07ab0e62b98b452fbbd18edba0450035e35:/rpc/file.h diff --git a/rpc/file.h b/rpc/file.h index 393b98a..9ea313f 100644 --- a/rpc/file.h +++ b/rpc/file.h @@ -22,7 +22,7 @@ class file_t { public: inline file_t(int fd=-1) : fd_(fd) {} inline file_t(const file_t &) = delete; - inline file_t(file_t && other) : fd_(-1) { swap(fd_, other.fd_); } + inline file_t(file_t && other) : fd_(-1) { std::swap(fd_, other.fd_); } inline ~file_t() { if (fd_ != -1) ::close(fd_); } static inline void pipe(file_t *ends) { int fds[2];