summaryrefslogtreecommitdiffstats
path: root/libs/hwui/utils
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-05-12 07:17:50 -0700
committerJohn Reck <jreck@google.com>2015-05-12 11:02:07 -0700
commit4c9e59d03c2bca38001225b79d01740b8999adfb (patch)
tree140ff328b9966bdd974a7868c631eebdc1fea76f /libs/hwui/utils
parent4bd4121d584e16c700ba08828c675b7f906ff331 (diff)
downloadframeworks_base-4c9e59d03c2bca38001225b79d01740b8999adfb.zip
frameworks_base-4c9e59d03c2bca38001225b79d01740b8999adfb.tar.gz
frameworks_base-4c9e59d03c2bca38001225b79d01740b8999adfb.tar.bz2
Unify DrawProfiler/JankStats
Bug: 20822400 Change-Id: I24345c3120440bfce14e8cbe7e880b39f10b744a
Diffstat (limited to 'libs/hwui/utils')
-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 fc9aec0..6d0a06b 100644
--- a/libs/hwui/utils/RingBuffer.h
+++ b/libs/hwui/utils/RingBuffer.h
@@ -31,7 +31,7 @@ public:
RingBuffer() {}
~RingBuffer() {}
- size_t capacity() { return SIZE; }
+ constexpr size_t capacity() { return SIZE; }
size_t size() { return mCount; }
T& next() {