File tree Expand file tree Collapse file tree
externals/coda-oss/modules/c++ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ class Throwable11 : public std::exception
320320 return toString () + backtrace;
321321 }
322322
323- const char * what () const noexcept override final // derived classes override toString()
323+ const char * what () const noexcept final // derived classes override toString()
324324 {
325325 // adding this to toString() output could (significantly) alter existing display
326326 mWhat = toString (true /* includeBacktrace*/ ); // call any derived toString()
Original file line number Diff line number Diff line change @@ -88,10 +88,6 @@ struct Handler : public Filterer
8888 // for writing directly to stream,
8989 // used for the bulk of the logging for speed
9090 virtual void emitRecord (const LogRecord* record) = 0;
91- virtual void emitRecord (const LogRecord& record)
92- {
93- return emitRecord (&record);
94- }
9591
9692 LogLevel mLevel = LogLevel::LOG_NOTSET;
9793 sys::Mutex mHandlerLock ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ struct MemoryHandler : public Handler
5151protected:
5252 virtual void write (const std::string& str);
5353
54- virtual void emitRecord (const LogRecord* record);
54+ void emitRecord (const LogRecord* record) override ;
5555
5656private:
5757 typedef std::map<LogLevel, std::vector<std::string> > LogMap;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ struct StreamHandler : public Handler
7171
7272 // ! for writing directly to stream,
7373 // used for the bulk of the logging for speed
74- virtual void emitRecord (const LogRecord* record);
74+ void emitRecord (const LogRecord* record) override ;
7575
7676 mem::auto_ptr<io::OutputStream> mStream ;
7777
You can’t perform that action at this time.
0 commit comments