Add int16_t to MixedTyped

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I223a36cd2106b54155e0a80ffabe4f7a1c1f23f9
Merged-In: I223a36cd2106b54155e0a80ffabe4f7a1c1f23f9
(cherry picked from commit ca80ff0840)
This commit is contained in:
Lev Proleev
2018-11-05 13:20:06 +00:00
committed by Xusong Wang
parent d36b7a8d52
commit ed7ce7afdf

View File

@@ -62,7 +62,8 @@ void copy_back(MixedTyped* dst, const std::vector<RequestArgument>& ra, char* sr
copy_back_<float>(dst, ra, src);
copy_back_<int32_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");
}