Skip to content

Commit

Permalink
src: consistently declare BindingData class
Browse files Browse the repository at this point in the history
Its defined as a class, so forward declare as a class, fixing type
mismatch warning.

PR-URL: nodejs#32677
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
sam-github committed Apr 6, 2020
1 parent 561dda2 commit 95c0885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_stat_watcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

namespace node {
namespace fs {
struct BindingData;
class BindingData;
}

class Environment;
Expand Down

0 comments on commit 95c0885

Please sign in to comment.