Merge pull request #576 from santigl/santigl/streambuf-overflow-override
Remove `virtual` from `LogStreamBuf::overflow()`
This commit is contained in:
commit
af4df08e5b
@ -1128,7 +1128,7 @@ class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
|
||||
}
|
||||
|
||||
// This effectively ignores overflow.
|
||||
virtual int_type overflow(int_type ch) {
|
||||
int_type overflow(int_type ch) {
|
||||
return ch;
|
||||
}
|
||||
|
||||
|
||||
@ -1129,7 +1129,7 @@ class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
|
||||
}
|
||||
|
||||
// This effectively ignores overflow.
|
||||
virtual int_type overflow(int_type ch) {
|
||||
int_type overflow(int_type ch) {
|
||||
return ch;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user