Skip to content

Commit

Permalink
Mark overridden destructors
Browse files Browse the repository at this point in the history
Summary: Fix a `-Wundef` warning when building with `arvr/mode/platform010`.

Reviewed By: h-friederich

Differential Revision: D61980557

fbshipit-source-id: 13dcd6390e13cc6786f40368f555f2be5e89b2eb
  • Loading branch information
Gabriel Agamennoni authored and facebook-github-bot committed Sep 3, 2024
1 parent b6e68ca commit de24594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion folly/logging/AsyncFileWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class AsyncFileWriter : public AsyncLogWriter {
*/
explicit AsyncFileWriter(folly::File&& file);

~AsyncFileWriter();
~AsyncFileWriter() override;

/**
* Returns true if the output steam is a tty.
Expand Down
2 changes: 1 addition & 1 deletion folly/logging/StandardLogHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class StandardLogHandler : public LogHandler {
std::shared_ptr<LogFormatter> formatter,
std::shared_ptr<LogWriter> writer,
LogLevel syncLevel = LogLevel::MAX_LEVEL);
~StandardLogHandler();
~StandardLogHandler() override;

/**
* Get the LogFormatter used by this handler.
Expand Down

0 comments on commit de24594

Please sign in to comment.