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

Commit ca80ff08 authored by Lev Proleev's avatar Lev Proleev
Browse files

Add int16_t to MixedTyped

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I223a36cd2106b54155e0a80ffabe4f7a1c1f23f9
parent efb5f951
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");
}
}