ClangTidy fixes for examples/
These are manual edits please verify there are no typos. Feel free to auto-submit if there are no issues. Bug: webrtc:10410 Change-Id: I41947a24764840ad14b2bcccd99d3212d79c1485 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127628 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Benjamin Wright <benwright@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27137}
This commit is contained in:

committed by
Commit Bot

parent
65ccccac4c
commit
c6fa6d9cc4
@ -33,7 +33,9 @@
|
||||
static const char kPeerIdHeader[] = "Pragma: ";
|
||||
|
||||
static const char* kRequestPaths[] = {
|
||||
"/wait", "/sign_out", "/message",
|
||||
"/wait",
|
||||
"/sign_out",
|
||||
"/message",
|
||||
};
|
||||
|
||||
enum RequestPathIndex {
|
||||
@ -127,7 +129,7 @@ void ChannelMember::QueueResponse(const std::string& status,
|
||||
const std::string& extra_headers,
|
||||
const std::string& data) {
|
||||
if (waiting_socket_) {
|
||||
assert(queue_.size() == 0);
|
||||
assert(queue_.empty());
|
||||
assert(waiting_socket_->method() == DataSocket::GET);
|
||||
bool ok =
|
||||
waiting_socket_->Send(status, true, content_type, extra_headers, data);
|
||||
|
Reference in New Issue
Block a user