Commit a4c0fd99 authored by Michael Liu's avatar Michael Liu Committed by Facebook Github Bot

Apply modernize-use-override (2nd iteration)

Summary:
Use C++11’s override and remove virtual where applicable.
Change are automatically generated.

Reviewed By: shixiao

Differential Revision: D14089910

fbshipit-source-id: 12c776ea06094ee77c7e07263397dab3419c5309
parent 934a40e2
......@@ -46,7 +46,7 @@ class ManualTimekeeper : public folly::Timekeeper {
explicit ManualTimekeeper(Executor::KeepAlive<Executor>&& executor)
: executor_(std::move(executor)), now_(steady_clock::now()) {}
virtual Future<Unit> after(Duration dur) override {
Future<Unit> after(Duration dur) override {
auto contract = folly::makePromiseContract<Unit>(executor_.get());
if (dur.count() == 0) {
contract.first.setValue(folly::unit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment