Marked UnwrapWithoutUpdate function as const
Bug: webrtc:8415 Change-Id: Ic38622fce9d504b16ef5d586973fb03535a5150c Reviewed-on: https://webrtc-review.googlesource.com/23980 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20726}
This commit is contained in:
committed by
Commit Bot
parent
d6fc82f173
commit
feee08f4da
@ -46,7 +46,7 @@ class Unwrapper {
|
||||
|
||||
public:
|
||||
// Get the unwrapped value, but don't update the internal state.
|
||||
int64_t UnwrapWithoutUpdate(U value) {
|
||||
int64_t UnwrapWithoutUpdate(U value) const {
|
||||
if (!last_value_)
|
||||
return value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user