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 16f2497 commit c90ae7fCopy full SHA for c90ae7f
src/node_file.cc
@@ -251,10 +251,13 @@ static void After(uv_fs_t *req) {
251
252
// This struct is only used on sync fs calls.
253
// For async calls FSReqWrap is used.
254
-struct fs_req_wrap {
+class fs_req_wrap {
255
+ public:
256
fs_req_wrap() {}
257
~fs_req_wrap() { uv_fs_req_cleanup(&req); }
258
uv_fs_t req;
259
+
260
+ private:
261
DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);
262
};
263
0 commit comments