src: fix readability/constructors cpplint warnings
PR-URL: https://github.com/nodejs/node/pull/7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
parent
29228c4089
commit
df3a192496
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user