Skip to content

Commit 5d89076

Browse files
author
Dan Smith
committed
remove errors/warnings from coda-oss
1 parent a535245 commit 5d89076

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

externals/coda-oss/modules/c++/except/include/except/Throwable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

externals/coda-oss/modules/c++/logging/include/logging/Handler.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

externals/coda-oss/modules/c++/logging/include/logging/MemoryHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct MemoryHandler : public Handler
5151
protected:
5252
virtual void write(const std::string& str);
5353

54-
virtual void emitRecord(const LogRecord* record);
54+
void emitRecord(const LogRecord* record) override;
5555

5656
private:
5757
typedef std::map<LogLevel, std::vector<std::string> > LogMap;

externals/coda-oss/modules/c++/logging/include/logging/StreamHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)