Skip to content

Commit b7e006b

Browse files
bnoordhuisFishrock123
authored andcommitted
src: fix readability/constructors cpplint warnings
PR-URL: #7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
1 parent 7fe758d commit b7e006b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/node_file.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,13 @@ static void After(uv_fs_t *req) {
327327

328328
// This struct is only used on sync fs calls.
329329
// For async calls FSReqWrap is used.
330-
struct fs_req_wrap {
330+
class fs_req_wrap {
331+
public:
331332
fs_req_wrap() {}
332333
~fs_req_wrap() { uv_fs_req_cleanup(&req); }
333334
uv_fs_t req;
335+
336+
private:
334337
DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);
335338
};
336339

0 commit comments

Comments
 (0)