Enabling clang::find_bad_constructs for libjingle_peerconnection_api.
This CL removes //build/config/clang:find_bad_constructs from the suppressed_configs list, which means that clang:find_bad_constructs is now enabled on these translation units. Bug: webrtc:9251, webrtc:163 Change-Id: I5475e574353c772910181495fdb3400b5f0e7399 Reviewed-on: https://webrtc-review.googlesource.com/87240 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24040}
This commit is contained in:
committed by
Commit Bot
parent
9416ef8c4f
commit
79eb4dd928
35
api/datachannelinterface.cc
Normal file
35
api/datachannelinterface.cc
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "api/datachannelinterface.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
bool DataChannelInterface::ordered() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint16_t DataChannelInterface::maxRetransmitTime() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint16_t DataChannelInterface::maxRetransmits() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::string DataChannelInterface::protocol() const {
|
||||
return std::string();
|
||||
}
|
||||
|
||||
bool DataChannelInterface::negotiated() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
Reference in New Issue
Block a user