From 95c08853ee1f47a44d45ed6c37fbb98fd800eb48 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Sun, 5 Apr 2020 21:27:54 -0700 Subject: [PATCH] src: consistently declare BindingData class Its defined as a class, so forward declare as a class, fixing type mismatch warning. PR-URL: https://github.com/nodejs/node/pull/32677 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau --- src/node_stat_watcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h index 81a8903018624b..c1d6ccce69bdbb 100644 --- a/src/node_stat_watcher.h +++ b/src/node_stat_watcher.h @@ -31,7 +31,7 @@ namespace node { namespace fs { -struct BindingData; +class BindingData; } class Environment;