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

Commit f25928d1 authored by Yi Kong's avatar Yi Kong
Browse files

Remove unused lambda capture

Clean up, no functionality change.

Test: build
Bug: 37752547
Change-Id: I040b5af2069b679a8a7e681cb79b24664224fc5b
(cherry picked from commit 6330ce56)
parent 0fcec0a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ status_t LWOmxNode::getParameter(
    status_t transStatus = toStatusT(mBase->getParameter(
            toRawIndexType(index),
            tParams,
            [&fnStatus, params, size](
            [&fnStatus, params](
                    Status status, hidl_vec<uint8_t> const& outParams) {
                fnStatus = toStatusT(status);
                std::copy(
@@ -145,7 +145,7 @@ status_t LWOmxNode::allocateSecureBuffer(
    status_t transStatus = toStatusT(mBase->allocateSecureBuffer(
            portIndex,
            static_cast<uint64_t>(size),
            [&fnStatus, buffer, buffer_data, native_handle](
            [&fnStatus, buffer, native_handle](
                    Status status,
                    uint32_t outBuffer,
                    hidl_handle const& outNativeHandle) {
+2 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ status_t LWOmxNode::getParameter(
    status_t transStatus = toStatusT(mBase->getParameter(
            toRawIndexType(index),
            tParams,
            [&fnStatus, params, size](
            [&fnStatus, params](
                    Status status, hidl_vec<uint8_t> const& outParams) {
                fnStatus = toStatusT(status);
                std::copy(
@@ -148,7 +148,7 @@ status_t LWOmxNode::allocateSecureBuffer(
    status_t transStatus = toStatusT(mBase->allocateSecureBuffer(
            portIndex,
            static_cast<uint64_t>(size),
            [&fnStatus, buffer, buffer_data, native_handle](
            [&fnStatus, buffer, native_handle](
                    Status status,
                    uint32_t outBuffer,
                    hidl_handle const& outNativeHandle) {