From 1ec3111f91fad1e8f923e96edba026bc03875e7a Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Wed, 11 Jan 2023 08:19:44 +0000 Subject: [PATCH] Fix the weird error by GCC7 that fails to match the correct parent method. Forwarded: not-needed Gbp-Pq: Topic system/core Gbp-Pq: Name Vector-cast.patch --- system/core/libutils/include/utils/Vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core/libutils/include/utils/Vector.h b/system/core/libutils/include/utils/Vector.h index ddf71de2..7f91a35e 100644 --- a/system/core/libutils/include/utils/Vector.h +++ b/system/core/libutils/include/utils/Vector.h @@ -258,7 +258,7 @@ Vector& Vector::operator = (const Vector& rhs) { template inline const Vector& Vector::operator = (const Vector& rhs) const { - VectorImpl::operator = (static_cast(rhs)); + VectorImpl::operator = (rhs); return *this; } -- 2.30.2