Skip to content

Commit a86ff58

Browse files
committed
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.
1 parent 9bcfbeb commit a86ff58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_buffer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class CallbackInfo : public Cleanable {
9898
CallbackInfo& operator=(const CallbackInfo&) = delete;
9999

100100
private:
101-
void Clean();
101+
void Clean() override;
102102
inline void OnBackingStoreFree();
103103
inline void CallAndResetCallback();
104104
inline CallbackInfo(Environment* env,

0 commit comments

Comments
 (0)