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 b7e006b

Browse filesBrowse 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
Copy full SHA for b7e006b

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.