X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fglog%2Flogging.h.in;h=099e33dd26b6441a505f81166fb310d10c2f82c6;hb=2fe6508e536032b321067a541b6f0a3a54089bc3;hp=35c65be7c526fe7692f7c187fb32cc3f02ff818c;hpb=40fc21467abb4516976ea2aa586bd206d0b86d20;p=platform%2Fupstream%2Fglog.git diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index 35c65be..099e33d 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -1114,11 +1114,6 @@ class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf { setp(buf, buf + len - 2); } - // Resets the buffer. Useful if we reuse it by means of TLS. - void reset() { - setp(pbase(), epptr()); - } - // This effectively ignores overflow. virtual int_type overflow(int_type ch) { return ch; @@ -1181,7 +1176,6 @@ public: size_t pcount() const { return streambuf_.pcount(); } char* pbase() const { return streambuf_.pbase(); } char* str() const { return pbase(); } - void reset() { streambuf_.reset(); } private: LogStream(const LogStream&);