mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Replace "size()" with "empty()".
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user