Merge pull request #371 from zaporozhets/fix_mistyping_in_comment
Fix mistype in comment
This commit is contained in:
commit
c4bada1876
@ -1104,7 +1104,7 @@ namespace base_logging {
|
|||||||
// buffer to allow for a '\n' and '\0'.
|
// buffer to allow for a '\n' and '\0'.
|
||||||
class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
|
class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
|
||||||
public:
|
public:
|
||||||
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'.
|
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\0'.
|
||||||
LogStreamBuf(char *buf, int len) {
|
LogStreamBuf(char *buf, int len) {
|
||||||
setp(buf, buf + len - 2);
|
setp(buf, buf + len - 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user