From feee08f4da8166127388d0aafe67d7077ea984e8 Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Fri, 17 Nov 2017 10:31:27 +0100 Subject: [PATCH] Marked UnwrapWithoutUpdate function as const Bug: webrtc:8415 Change-Id: Ic38622fce9d504b16ef5d586973fb03535a5150c Reviewed-on: https://webrtc-review.googlesource.com/23980 Reviewed-by: Karl Wiberg Commit-Queue: Sebastian Jansson Cr-Commit-Position: refs/heads/master@{#20726} --- modules/include/module_common_types_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/include/module_common_types_public.h b/modules/include/module_common_types_public.h index d73fae2682..cfa28ab8c2 100644 --- a/modules/include/module_common_types_public.h +++ b/modules/include/module_common_types_public.h @@ -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;