Add SetValue for unsigned long for uint64_t

am: b0f80eb4a7

Change-Id: Ia95df0946a40f0383c32f94006576220205e613d
This commit is contained in:
Colin Cross
2018-10-30 14:11:46 -07:00
committed by android-build-merger

View File

@@ -48,6 +48,13 @@ void SetValue(const unsigned int& value,
attribute->int64Value = value;
}
template<>
__attribute__((unused))
void SetValue(const unsigned long& value,
DrmMetricGroup::Attribute* attribute) {
attribute->int64Value = value;
}
template<>
__attribute__((unused))
void SetValue(const unsigned long long& value,
DrmMetricGroup::Attribute* attribute) {
attribute->int64Value = value;