diff options
Diffstat (limited to 'src/components/policy/policy_regular/src/policy_table/types.cc')
-rw-r--r-- | src/components/policy/policy_regular/src/policy_table/types.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/policy/policy_regular/src/policy_table/types.cc b/src/components/policy/policy_regular/src/policy_table/types.cc index f55b3b795f..d4e36a70ee 100644 --- a/src/components/policy/policy_regular/src/policy_table/types.cc +++ b/src/components/policy/policy_regular/src/policy_table/types.cc @@ -1792,7 +1792,12 @@ Json::Value VehicleDataItem::ToJsonValue() const { return ret; } -bool VehicleDataItem::operator==(const VehicleDataItem& vd) const { +#ifdef __ANDROID__ +bool VehicleDataItem::operator==(const VehicleDataItem& vd) const +#else +bool VehicleDataItem::operator==(const VehicleDataItem& vd) +#endif +{ return (name == vd.name && type == vd.type && key == vd.key && mandatory == vd.mandatory && params == vd.params && array == vd.array && since == vd.since && until == vd.until && |