From a86ff58dc3853e727e3eb112eb88fe099cfac02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 18 Jan 2026 14:39:49 +0100 Subject: [PATCH] src: add missing override specifier to Clean() The `CallbackInfo::Clean()` method overrides `Cleanable::Clean()` and should be marked as `override`, both because it is good practice to do so and for consistency with the rest of the code base. --- src/node_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 49df0b4284748e..0ee7883a5e5b67 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -98,7 +98,7 @@ class CallbackInfo : public Cleanable { CallbackInfo& operator=(const CallbackInfo&) = delete; private: - void Clean(); + void Clean() override; inline void OnBackingStoreFree(); inline void CallAndResetCallback(); inline CallbackInfo(Environment* env,