Skip to content

Commit c90ae7f

Browse files
bnoordhuisMyles Borins
authored andcommitted
src: fix readability/constructors cpplint warnings
PR-URL: #7462 Reviewed-By: Trevor Norris <[email protected]>
1 parent 16f2497 commit c90ae7f

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
@@ -251,10 +251,13 @@ static void After(uv_fs_t *req){
251251

252252
// This struct is only used on sync fs calls.
253253
// For async calls FSReqWrap is used.
254-
structfs_req_wrap{
254+
classfs_req_wrap{
255+
public:
255256
fs_req_wrap(){}
256257
~fs_req_wrap(){uv_fs_req_cleanup(&req)}
257258
uv_fs_t req;
259+
260+
private:
258261
DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);
259262
};
260263

0 commit comments

Comments
(0)