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

Commit 8532f6b2 authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Fix issues in ReturnIn



Bug: 74037175
Test: compile
Change-Id: Icc3a0d1d489474de7c6255a014dccecc4dda4aa2
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent 18f463ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ class ReturnIn {
    template <class Head, class... Tail>
    void set(Head&& head, Tail&&... tail) {
        std::get<sizeof...(ResultStore) - sizeof...(Tail) - 1>(results) = std::forward<Head>(head);
        set(tail...);
        set(std::forward<Tail>(tail)...);
    }
    // Trivial case
    void set() {}
@@ -56,7 +56,7 @@ class ReturnIn {
}  // namespace detail

// Generate the HIDL synchronous callback with a copy policy
// Input: the variables (lvalue reference) where to save the return values
// Input: the variables (lvalue references) where to copy the return values
// Output: the callback to provide to a HIDL call with a synchronous callback
// The output parameters *will be copied* do not use this function if you have
// a zero copy policy