We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe758d commit b7e006bCopy full SHA for b7e006b
src/node_file.cc
@@ -327,10 +327,13 @@ static void After(uv_fs_t *req) {
327
328
// This struct is only used on sync fs calls.
329
// For async calls FSReqWrap is used.
330
-struct fs_req_wrap {
+class fs_req_wrap {
331
+ public:
332
fs_req_wrap() {}
333
~fs_req_wrap() { uv_fs_req_cleanup(&req); }
334
uv_fs_t req;
335
+
336
+ private:
337
DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);
338
};
339
0 commit comments