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:
Sebastian Jansson
2017-11-17 10:31:27 +01:00
committed by Commit Bot
parent d6fc82f173
commit feee08f4da

View File

@ -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;