Commit 01d31b9f authored by Igor Sugak's avatar Igor Sugak Committed by Sara Golemon

Remove -Wno-inconsistent-missing-override suppression in folly

Summary: It is fixed in gmock. No need to suppress it in sources.

Reviewed By: @meyering

Differential Revision: D2181564
parent bcf360a9
......@@ -29,13 +29,6 @@ class MockHandler : public Handler<Rin, Rout, Win, Wout> {
MockHandler() = default;
MockHandler(MockHandler&&) = default;
#ifdef __clang__
# pragma clang diagnostic push
# if __clang_major__ > 3 || __clang_minor__ >= 6
# pragma clang diagnostic ignored "-Winconsistent-missing-override"
# endif
#endif
MOCK_METHOD2_T(read_, void(Context*, Rin&));
MOCK_METHOD1_T(readEOF, void(Context*));
MOCK_METHOD2_T(readException, void(Context*, exception_wrapper));
......@@ -48,10 +41,6 @@ class MockHandler : public Handler<Rin, Rout, Win, Wout> {
MOCK_METHOD1_T(detachPipeline, void(Context*));
MOCK_METHOD1_T(detachTransport, void(Context*));
#ifdef __clang__
#pragma clang diagnostic pop
#endif
void read(Context* ctx, Rin msg) override {
read_(ctx, msg);
}
......
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