Skip to content

Commit e35fd04

Browse files
authored
Rename the bzero method of the FixedBuffer class to avoid compilation errors on Android (#121)
1 parent b7c1628 commit e35fd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/utils/LogStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class FixedBuffer : NonCopyable
8080
{
8181
cur_ = data_;
8282
}
83-
void bzero()
83+
void zeroBuffer()
8484
{
8585
memset(data_, 0, sizeof(data_));
8686
}

0 commit comments

Comments
 (0)