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

Commit 5a112ffe authored by Colin Cross's avatar Colin Cross
Browse files

Fix warnings hidden by -isystem

Fix -Wundefined-var-template and -Wsign-compare warnings that were
hidden by the use of -isystem to include frameworks/av.

Test: m -j native
Bug: 31751828
Change-Id: I28e07b238d5bc913ea2f3dfa09fa02f577d5a250
Merged-In: I28e07b238d5bc913ea2f3dfa09fa02f577d5a250
(cherry picked from commit d995c018)
parent 66f70d2c
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -131,6 +131,17 @@ typedef TypeConverter<GainModeTraits> GainModeConverter;
typedef TypeConverter<StreamTraits> StreamTypeConverter;
typedef TypeConverter<StreamTraits> StreamTypeConverter;
typedef TypeConverter<DeviceCategoryTraits> DeviceCategoryConverter;
typedef TypeConverter<DeviceCategoryTraits> DeviceCategoryConverter;


template<> const DeviceConverter::Table DeviceConverter::mTable[];
template<> const OutputFlagConverter::Table OutputFlagConverter::mTable[];
template<> const InputFlagConverter::Table InputFlagConverter::mTable[];
template<> const FormatConverter::Table FormatConverter::mTable[];
template<> const OutputChannelConverter::Table OutputChannelConverter::mTable[];
template<> const InputChannelConverter::Table InputChannelConverter::mTable[];
template<> const ChannelIndexConverter::Table ChannelIndexConverter::mTable[];
template<> const GainModeConverter::Table GainModeConverter::mTable[];
template<> const DeviceCategoryConverter::Table DeviceCategoryConverter::mTable[];
template<> const StreamTypeConverter::Table StreamTypeConverter::mTable[];

inline
inline
static SampleRateTraits::Collection samplingRatesFromString(const std::string &samplingRates,
static SampleRateTraits::Collection samplingRatesFromString(const std::string &samplingRates,
                                                            const char *del = "|")
                                                            const char *del = "|")