summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-05-26 09:11:06 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-05-30 14:27:25 +0000
commitadeb6fa9e4b5057548a0439928ff0d3a138fb6c6 (patch)
treea0f7c4f84eb4e70ff26cd546525826e5d9b5623f /vulkan/libvulkan/api.cpp
parent34ad3a3a09dce56d60fb30f93c11e84e48ea2913 (diff)
Move some definitions into anonymous namespaces
To prevent ODR violations, move some of the definitions into anonymous namespaces. Specifically, this solves the issue of multiple definitions for FakeWindowHandle, which was triggering the leak sanitizer check when 'sanitize: address' was set to true. Bug: 284203306 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: I106b2b547cf465df15e317a9b7478dcc77467a46
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions