Fix more -Wextra-semi.
Chromium has enabled -Wextra-semi on Android, iOS and Windwos builds: https://chromium-review.googlesource.com/c/1489138 https://chromium-review.googlesource.com/c/1489180 https://chromium-review.googlesource.com/c/1489102 This CL fixes some minor problems in WebRTC and it is a follow-up of https://webrtc-review.googlesource.com/c/src/+/123560 and https://webrtc-review.googlesource.com/c/124440. Bug: webrtc:10355, chromium:926235 Change-Id: Ie9e49077a72c783c3e0fbc21bbe237d7338407e4 Reviewed-on: https://webrtc-review.googlesource.com/c/124680 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26873}
This commit is contained in:

committed by
Commit Bot

parent
5cceaa1294
commit
28221dee85
@ -67,7 +67,7 @@ class CaptureSinkFilter : public CBaseFilter {
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
// COM interfaces
|
||||
DECLARE_IUNKNOWN;
|
||||
DECLARE_IUNKNOWN
|
||||
STDMETHODIMP SetMatchingMediaType(const VideoCaptureCapability& capability);
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
@ -65,7 +65,7 @@ ScopedJavaLocalRef<jobject> NativeToJavaRtpTransceiver(
|
||||
JavaRtpTransceiverGlobalOwner::JavaRtpTransceiverGlobalOwner(
|
||||
JNIEnv* env,
|
||||
const JavaRef<jobject>& j_transceiver)
|
||||
: j_transceiver_(env, j_transceiver){};
|
||||
: j_transceiver_(env, j_transceiver) {}
|
||||
|
||||
JavaRtpTransceiverGlobalOwner::JavaRtpTransceiverGlobalOwner(
|
||||
JavaRtpTransceiverGlobalOwner&& other) = default;
|
||||
|
@ -22,7 +22,7 @@ class ObjCI420FrameBuffer : public I420BufferInterface {
|
||||
public:
|
||||
explicit ObjCI420FrameBuffer(id<RTCI420Buffer> frame_buffer)
|
||||
: frame_buffer_(frame_buffer), width_(frame_buffer.width), height_(frame_buffer.height) {}
|
||||
~ObjCI420FrameBuffer() override{};
|
||||
~ObjCI420FrameBuffer() override {}
|
||||
|
||||
int width() const override { return width_; }
|
||||
|
||||
|
Reference in New Issue
Block a user