From 25cf3b5b9c76bcf17ec38b9878eca9ebd976e00d Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Thu, 5 Mar 2020 15:23:28 -0800 Subject: [PATCH] Bugfix: add "override" explicitly to make the compiler happy Test: build Bug: 148877226 Change-Id: I90806ee2c2302ce9cc5dc8f82754aa807c2ec7ef --- .../2.0/default/common/include/vhal_v2_0/VehicleObjectPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automotive/vehicle/2.0/default/common/include/vhal_v2_0/VehicleObjectPool.h b/automotive/vehicle/2.0/default/common/include/vhal_v2_0/VehicleObjectPool.h index e3cbf2e7cd..f2d3c1361e 100644 --- a/automotive/vehicle/2.0/default/common/include/vhal_v2_0/VehicleObjectPool.h +++ b/automotive/vehicle/2.0/default/common/include/vhal_v2_0/VehicleObjectPool.h @@ -206,7 +206,7 @@ private: InternalPool(VehiclePropertyType type, size_t vectorSize) : mPropType(type), mVectorSize(vectorSize) {} - RecyclableType obtain() { + RecyclableType obtain() override { return ObjectPool::obtain(); } protected: