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

Commit 22082f2d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libbinder_ndk: do not rely on copyability of parcelables"

parents 3e9f19c7 889451ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ static inline binder_status_t AParcel_readNullableParcelable(const AParcel* parc
            *p = std::nullopt;
            return STATUS_OK;
        }
        *p = std::optional<first_template_type_t<P>>(first_template_type_t<P>{});
        p->emplace(first_template_type_t<P>());
        return (*p)->readFromParcel(parcel);
    } else {
        static_assert(is_specialization_v<P, std::unique_ptr>);