Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8eca07d7 authored by Ryan Prichard's avatar Ryan Prichard
Browse files

Change size_t flexCount type to _C2FlexCount

C++ does not allow defining a class-specific
`operator new(size_t, size_t)` placement allocation method as that
would call the non-placement `operator delete(void*, size_t)`. While
the new operator is used as an allocating allocation method, after
upgrading to clang-r547379, the compiler diagnoses this mismatch:

error: 'new' expression with placement arguments refers to non-placement 'operator delete'

Bug: http://b/392522623
Test: presubmit
Change-Id: Iff1d8dcaf10319efb52d1b5574003f80fe027bb7
parent c9b2ac83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment