Skip to content

Commit

Permalink
Bug 1859786 - Fix clang-tidy warning in video_capture_impl.cc. r=webr…
Browse files Browse the repository at this point in the history
…tc-reviewers,mjf

clang-tidy says:
  'auto dataCallBack' can be declared as 'auto *dataCallBack'

Differential Revision: https://phabricator.services.mozilla.com/D191302
  • Loading branch information
Pehrsons committed Oct 18, 2023
1 parent a6b98ef commit d390894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int32_t VideoCaptureImpl::DeliverCapturedFrame(VideoFrame& captureFrame) {

UpdateFrameCount(); // frame count used for local frame rate callback.

for (auto dataCallBack : _dataCallBacks) {
for (auto* dataCallBack : _dataCallBacks) {
dataCallBack->OnFrame(captureFrame);
}

Expand Down

0 comments on commit d390894

Please sign in to comment.