Commit 19859f96 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Ensure LogWriter::writeMessage(std::string&&) is in the overload set of ImmediateFileWriter

Summary: As MSVC correctly warns via C4266, the overload sets of functions in base classes are not part of the overload set in derived classes where you've declared an overload (or override) unless you've explicitly imported it.

Reviewed By: simpkins

Differential Revision: D5260056

fbshipit-source-id: bbbeeea3c13201a3a6eba6e62cfa5a49a9470d43
parent 2bb2c015
......@@ -46,6 +46,7 @@ class ImmediateFileWriter : public LogWriter {
*/
explicit ImmediateFileWriter(folly::File&& file);
using LogWriter::writeMessage;
void writeMessage(folly::StringPiece buffer) override;
private:
......
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