diff options
author | Quallenauge <Hamsi2k@freenet.de> | 2019-09-22 21:28:13 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:53 +0300 |
commit | 92c6b47542e11627c635e6ddeb3dab6dd4e36322 (patch) | |
tree | 44efe75730385c0683e7fed9905bdc6d7691723a /lineage.dependencies | |
parent | ee57f80147dfeb0a2c2a9724294ff01d20b740d3 (diff) |
sdm660-common: libshims: Respect non-static member function calls.
As stated in
https://www.learncpp.com/cpp-tutorial/8-8-the-hidden-this-pointer/
member functions contains a hidden parameter (a pointer of the current
reference of teh object, aka "this"). This way the code knows in which
context the member function is called. We have to resprect that behavior
into our shims which otherwise crashes or lead to memory corruption.
Change-Id: I68197ebafde8773fd73d7dafb9b2f1bae92ee170
Diffstat (limited to 'lineage.dependencies')
0 files changed, 0 insertions, 0 deletions