summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2022-08-26 20:53:33 -0700
committer Ryan Prichard <rprichard@google.com> 2022-08-26 20:55:52 -0700
commit3997155120f3313cc58f953ef15f8dfbe1f9ee9f (patch)
tree9fc26cd7900eabbf814f686b71c63cc84ef9da24 /libs/androidfw/StringPool.cpp
parente648d3cb91f9a0156c729ca18ec27e71f59f9ce2 (diff)
Move SkiaCanvas::Clip above SkiaCanvas::SkiaCanvas
After upgrading libc++, there are errors complaining about the the incomplete Clip type in the "std::vector<Clip> mClipStack" member of SkiaCanvas. The "SkiaCanvas::SkiaCanvas() {}" ctor can call ~vector (maybe when an exception is thrown), and ~vector needs to know the size of Clip. (I'm not sure why this wasn't a problem before, but this seems to fix the problem.) Bug: http://b/175635923 Test: treehugger Change-Id: I1d689c91be3b0530272836eeb727709ff1084545
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions