summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Nick Desaulniers <ndesaulniers@google.com> 2019-10-07 20:37:31 -0700
committer Nick Desaulniers <ndesaulniers@google.com> 2019-10-07 20:37:31 -0700
commit5cc046e71eee6e18d8765f9d5f1c9ded167b88a6 (patch)
tree0f6f4515164d28ced8f9cbbb9572eb9898c7c064 /services/surfaceflinger/RegionSamplingThread.cpp
parent9ada1719baf97231621e1af762181d5bd5c13e5b (diff)
[dumpstate] fix -Wreturn-stack-address
ZippedBugreportGenerationTest#getZipFilePath() creates a temporary std::string, then returns a pointer to the C str within the stack temporary. Fix by returning a std::string and calling .c_str() at the call sites of getZipFilePath(). Bug: 139945549 Test: mm Change-Id: Ie2fc423f74e8ed2cf3f427c4afc3c340ff6c57cc Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions