Replace "size()" with "empty()".
This commit is contained in:
parent
6ef3be23fd
commit
00693ba075
7 changed files with 8 additions and 8 deletions
|
@ -164,7 +164,7 @@ void NodeDebugger::DidRead(net::test_server::StreamListenSocket* socket,
|
|||
buffer_.append(data, len);
|
||||
|
||||
do {
|
||||
if (buffer_.size() == 0)
|
||||
if (buffer_.empty())
|
||||
return;
|
||||
|
||||
// Read the "Content-Length" header.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue