summaryrefslogtreecommitdiff
path: root/libs/hwui/LayerUpdateQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/LayerUpdateQueue.h')
-rw-r--r--libs/hwui/LayerUpdateQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/LayerUpdateQueue.h b/libs/hwui/LayerUpdateQueue.h
index be612d2a15e7..5b1a8543dd0d 100644
--- a/libs/hwui/LayerUpdateQueue.h
+++ b/libs/hwui/LayerUpdateQueue.h
@@ -42,7 +42,7 @@ public:
LayerUpdateQueue() {}
void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
void clear();
- const std::vector<Entry> entries() const { return mEntries; }
+ const std::vector<Entry>& entries() const { return mEntries; }
private:
std::vector<Entry> mEntries;
};