summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-05-19 10:44:53 -0700
committerChih-Hung Hsieh <chh@google.com>2015-05-19 10:44:53 -0700
commit2f1e21d9956c73fac2f2da4705d144342137aa96 (patch)
tree6bc7011cae7d3cbf318447e896fa226c6b48a50b /libs
parent6246ade0b36a1583e254b7aded3b232da9290f6d (diff)
downloadframeworks_base-2f1e21d9956c73fac2f2da4705d144342137aa96.zip
frameworks_base-2f1e21d9956c73fac2f2da4705d144342137aa96.tar.gz
frameworks_base-2f1e21d9956c73fac2f2da4705d144342137aa96.tar.bz2
Add missing const qualifier to compile with clang/llvm.
BUG: 21298442 Change-Id: Iad211237fdb0128d8f4490419687bf1da1cd261c
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/utils/RingBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/utils/RingBuffer.h b/libs/hwui/utils/RingBuffer.h
index 6d0a06b..d822cb2 100644
--- a/libs/hwui/utils/RingBuffer.h
+++ b/libs/hwui/utils/RingBuffer.h
@@ -31,7 +31,7 @@ public:
RingBuffer() {}
~RingBuffer() {}
- constexpr size_t capacity() { return SIZE; }
+ constexpr size_t capacity() const { return SIZE; }
size_t size() { return mCount; }
T& next() {