Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Issue 1517253004: Fix build on clang/win. (Closed)

Created:
5 years ago by tommi
Modified:
5 years ago
Reviewers:
Nico
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove pointless move() to fix build on clang/win. Fixes: ..\..\third_party\libjingle\source\talk\app\webrtc\remoteaudiosource.cc(100,15) : error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] ssrc, std::move(rtc::scoped_ptr<AudioSinkInterface>(new Sink(this)))); ^ ..\..\third_party\libjingle\source\talk\app\webrtc\remoteaudiosource.cc(100,15) : note: remove std::move call here ssrc, std::move(rtc::scoped_ptr<AudioSinkInterface>(new Sink(this)))); ^~~~~~~~~~ R=thakis@chromium.org TBR=thakis@chromium.org Committed: https://crrev.com/cb95f54ee469cd9682ffecd404d37c5e4d58edb0 Cr-Commit-Position: refs/heads/master@{#10999}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M talk/app/webrtc/remoteaudiosource.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517253004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517253004/1
5 years ago (2015-12-12 15:25:13 UTC) #4
Nico
I think a better CL description would be "remove pointless move()", but other than that ...
5 years ago (2015-12-12 15:27:26 UTC) #5
tommi
On 2015/12/12 15:27:26, Nico wrote: > I think a better CL description would be "remove ...
5 years ago (2015-12-12 15:33:55 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/cb95f54ee469cd9682ffecd404d37c5e4d58edb0 Cr-Commit-Position: refs/heads/master@{#10999}
5 years ago (2015-12-12 15:54:46 UTC) #10
tommi
5 years ago (2015-12-12 15:54:47 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
cb95f54ee469cd9682ffecd404d37c5e4d58edb0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698