Replace "(const override)" with "(const, override)" in GMOCKs
Just applied a short sed script. See bug description for
the motiviation for this change.
This is the command that was used to generate the changes:
$ find . -type f \( -iname '*.cc' -o -iname '*.h' \) -print0 | \
xargs -0 sed -i -e 's/(const override)/(const, override)/'
Bug: webrtc:13090
Change-Id: Iec7d280f9d55263a972dbb3bd644ebfcd2eb38cf
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249088
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Ali Tofigh <alito@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35801}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
236d7e7e46
commit
c98687a2ef
@ -77,15 +77,15 @@ class MockPeerConnectionInterface
|
||||
MOCK_METHOD(std::vector<rtc::scoped_refptr<RtpSenderInterface>>,
|
||||
GetSenders,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(std::vector<rtc::scoped_refptr<RtpReceiverInterface>>,
|
||||
GetReceivers,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(std::vector<rtc::scoped_refptr<RtpTransceiverInterface>>,
|
||||
GetTransceivers,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(bool,
|
||||
GetStats,
|
||||
(StatsObserver*, MediaStreamTrackInterface*, StatsOutputLevel),
|
||||
@ -105,7 +105,7 @@ class MockPeerConnectionInterface
|
||||
MOCK_METHOD(rtc::scoped_refptr<SctpTransportInterface>,
|
||||
GetSctpTransport,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(RTCErrorOr<rtc::scoped_refptr<DataChannelInterface>>,
|
||||
CreateDataChannelOrError,
|
||||
(const std::string&, const DataChannelInit*),
|
||||
@ -113,27 +113,27 @@ class MockPeerConnectionInterface
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
local_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
remote_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
current_local_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
current_remote_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
pending_local_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(const SessionDescriptionInterface*,
|
||||
pending_remote_description,
|
||||
(),
|
||||
(const override));
|
||||
(const, override));
|
||||
MOCK_METHOD(void, RestartIce, (), (override));
|
||||
MOCK_METHOD(void,
|
||||
CreateOffer,
|
||||
|
||||
Reference in New Issue
Block a user