Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c90ae7f

Browse filesBrowse files
bnoordhuisMyles Borins
authored andcommitted
src: fix readability/constructors cpplint warnings
PR-URL: #7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
1 parent 16f2497 commit c90ae7f
Copy full SHA for c90ae7f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎src/node_file.cc‎

Copy file name to clipboardExpand all lines: src/node_file.cc
+4-1Lines 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-
struct fs_req_wrap {
254+
class fs_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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.