Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2016-06-28 22:21:21 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2016-06-28 22:21:21 +0300
commitdf3a192496e3ac6f62435245cca233b0da992708 (patch)
tree671180086dba0992d3238b2d482f8d6cba69d081
parent29228c4089431d0e65749421f43aafd05694f376 (diff)
src: fix readability/constructors cpplint warnings
PR-URL: https://github.com/nodejs/node/pull/7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
-rw-r--r--src/node_file.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node_file.cc b/src/node_file.cc
index c1dd59b9b71..089ead82ea4 100644
--- a/src/node_file.cc
+++ b/src/node_file.cc
@@ -327,10 +327,13 @@ static void After(uv_fs_t *req) {
// This struct is only used on sync fs calls.
// For async calls FSReqWrap is used.
-struct fs_req_wrap {
+class fs_req_wrap {
+ public:
fs_req_wrap() {}
~fs_req_wrap() { uv_fs_req_cleanup(&req); }
uv_fs_t req;
+
+ private:
DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);
};