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

Commit 4f936dfa authored by Lev Proleev's avatar Lev Proleev Committed by android-build-merger
Browse files

Add int16_t to MixedTyped

am: ed7ce7af

Change-Id: Ide525dcc21b8245ff1cad22c6ee3ca58905064d4
parents 46143549 ed7ce7af
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -62,7 +62,8 @@ void copy_back(MixedTyped* dst, const std::vector<RequestArgument>& ra, char* sr
    copy_back_<float>(dst, ra, src);
    copy_back_<float>(dst, ra, src);
    copy_back_<int32_t>(dst, ra, src);
    copy_back_<int32_t>(dst, ra, src);
    copy_back_<uint8_t>(dst, ra, src);
    copy_back_<uint8_t>(dst, ra, src);
    static_assert(3 == std::tuple_size<MixedTyped>::value,
    copy_back_<int16_t>(dst, ra, src);
    static_assert(4 == std::tuple_size<MixedTyped>::value,
                  "Number of types in MixedTyped changed, but copy_back function wasn't updated");
                  "Number of types in MixedTyped changed, but copy_back function wasn't updated");
}
}