diff options
author | 2018-08-15 11:52:09 -0700 | |
---|---|---|
committer | 2018-08-27 18:14:20 -0700 | |
commit | 6aae18af1d33ceaf6f8828479b1fcfe470871462 (patch) | |
tree | 7b4077cccdd3b9cbae6fc193d4a6598729eb57a3 /libs/gui/LayerDebugInfo.cpp | |
parent | 6b3f6c50b0161ce6e43234807b19f6338ab59505 (diff) |
Mark non-inplace Region operations WARN_UNUSED
Since the Java side equivalents operate in-place it can
be easy to assume Region.translate(x,y) will have some
effect whereas it is in fact a no-op unless the return
value is stored. Use WARN_UNUSED to help developers with
this.
Test: None
Change-Id: Idfd5b8b68dc144acaae62bd732eecdac7a745197
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions