From 59551d4fe4c190bdc2edbc932aef778167895661 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Sat, 28 May 2022 12:13:51 +0100 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