X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fio%2Fasync%2Ftest%2FEventBaseBenchmark.cpp;h=edf39793adf66baac97f034cd04ab4237f3a21d2;hp=cbb8b42c802e927389da59f1da65b00473a7fca7;hb=7f22ad99b5c4583d8f579911b8907c7758a4151e;hpb=61a1244ec0d11e8a612c4e2614c8cea32f4d87d4 diff --git a/folly/io/async/test/EventBaseBenchmark.cpp b/folly/io/async/test/EventBaseBenchmark.cpp index cbb8b42c..edf39793 100644 --- a/folly/io/async/test/EventBaseBenchmark.cpp +++ b/folly/io/async/test/EventBaseBenchmark.cpp @@ -27,7 +27,7 @@ class CountedLoopCallback : public EventBase::LoopCallback { : eventBase_(eventBase) , count_(count) {} - virtual void runLoopCallback() noexcept { + void runLoopCallback() noexcept override { --count_; if (count_ > 0) { eventBase_->runInLoop(this);