diff options
Diffstat (limited to 'src/node_file.cc')
-rw-r--r-- | src/node_file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_file.cc b/src/node_file.cc index 79450fd15a..e153a8bb0d 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -682,8 +682,8 @@ class FSReqWrapSync { ~FSReqWrapSync() { uv_fs_req_cleanup(&req); } uv_fs_t req; - private: - DISALLOW_COPY_AND_ASSIGN(FSReqWrapSync); + FSReqWrapSync(const FSReqWrapSync&) = delete; + FSReqWrapSync& operator=(const FSReqWrapSync&) = delete; }; // Returns nullptr if the operation fails from the start. |