Chromium Code Reviews| Index: talk/app/webrtc/jsepicecandidate.h |
| diff --git a/talk/app/webrtc/jsepicecandidate.h b/talk/app/webrtc/jsepicecandidate.h |
| index 539376e057fbb4a07c9569bc566aa02bd69b5cfa..9d4ec81f33c5f6ba9036c325d7bec30672f821fb 100644 |
| --- a/talk/app/webrtc/jsepicecandidate.h |
| +++ b/talk/app/webrtc/jsepicecandidate.h |
| @@ -70,6 +70,9 @@ class JsepIceCandidate : public IceCandidateInterface { |
| // This implementation stores JsepIceCandidates. |
| class JsepCandidateCollection : public IceCandidateCollection { |
| public: |
| + JsepCandidateCollection() {} |
| + JsepCandidateCollection(JsepCandidateCollection&& o) |
| + : candidates_(std::move(o.candidates_)) {} |
|
Taylor Brandstetter
2016/02/12 02:20:10
This is needed because JsepSessionDescription::Ini
pthatcher1
2016/02/12 03:54:34
Can you make that a comment?
Taylor Brandstetter
2016/02/12 20:44:56
Done.
|
| ~JsepCandidateCollection(); |
| virtual size_t count() const { |
| return candidates_.size(); |
| @@ -85,6 +88,8 @@ class JsepCandidateCollection : public IceCandidateCollection { |
| private: |
| std::vector<JsepIceCandidate*> candidates_; |
| + |
| + RTC_DISALLOW_COPY_AND_ASSIGN(JsepCandidateCollection); |
| }; |
| } // namespace webrtc |