Declare the Clone operator of SessionDescriptionInterface as const.
Bug: webrtc:12215
Change-Id: I8e44e2b9365893ecf481e69060771c2c208bbcdf
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198125
Reviewed-by: Markus Handell <handellm@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32858}
diff --git a/api/jsep_session_description.h b/api/jsep_session_description.h
index 0ba3807..e13d85e 100644
--- a/api/jsep_session_description.h
+++ b/api/jsep_session_description.h
@@ -49,7 +49,7 @@
const std::string& session_id,
const std::string& session_version);
- virtual std::unique_ptr<SessionDescriptionInterface> Clone();
+ virtual std::unique_ptr<SessionDescriptionInterface> Clone() const;
virtual cricket::SessionDescription* description() {
return description_.get();