Skip to content

Commit

Permalink
folly | Fix inconsistent-missing-destructor-override warnings
Browse files Browse the repository at this point in the history
Summary:
changelog: [internal]

Fixing inconsistent use of 'override' in destructors.

Reviewed By: nlutsenko

Differential Revision: D44942816

fbshipit-source-id: 8d0c143e268edd3ece28baa821a6ec51a2ec38e3
  • Loading branch information
Sergey Sokov authored and facebook-github-bot committed Apr 14, 2023
1 parent 347e4e9 commit 22f0f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folly/executors/TimekeeperScheduledExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class TimekeeperScheduledExecutor : public ScheduledExecutor {
Function<std::shared_ptr<Timekeeper>()> getTimekeeper)
: parent_(std::move(parent)), getTimekeeper_(std::move(getTimekeeper)) {}

~TimekeeperScheduledExecutor() { DCHECK(!keepAliveCounter_); }
~TimekeeperScheduledExecutor() override { DCHECK(!keepAliveCounter_); }

void run(Func);

Expand Down

0 comments on commit 22f0f02

Please sign in to comment.