Skip to content

Commit 32ed3cc

Browse files
authored
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. PR-URL: #61429 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
1 parent dc04bf6 commit 32ed3cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)