From 004f719467c498942c40de9f260be601ee45e630 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Mon, 30 Jan 2012 09:26:17 -0800 Subject: [PATCH] Mark fields const if only set in constructor Change-Id: Iacd06bb9efaf708cf965033be1f2297b58f7f75c --- services/audioflinger/AudioResampler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/audioflinger/AudioResampler.h b/services/audioflinger/AudioResampler.h index ee171ff3ec..c23016e02c 100644 --- a/services/audioflinger/AudioResampler.h +++ b/services/audioflinger/AudioResampler.h @@ -72,9 +72,9 @@ protected: AudioResampler(const AudioResampler&); AudioResampler& operator=(const AudioResampler&); - int32_t mBitDepth; - int32_t mChannelCount; - int32_t mSampleRate; + const int32_t mBitDepth; + const int32_t mChannelCount; + const int32_t mSampleRate; int32_t mInSampleRate; AudioBufferProvider::Buffer mBuffer; union { -- 2.11.0