diff options
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools/core-debian/Vector-cast.patch')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools/core-debian/Vector-cast.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools/core-debian/Vector-cast.patch b/dynamic-layers/selinux/android-tools/android-tools/core-debian/Vector-cast.patch new file mode 100644 index 0000000..dd39d1e --- /dev/null +++ b/dynamic-layers/selinux/android-tools/android-tools/core-debian/Vector-cast.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Description: Fix the wired error by GCC7 that fails to match the correct parent method. | ||
2 | Author: Kai-Chung Yan | ||
3 | Forwarded: not-needed | ||
4 | --- a/libutils/include/utils/Vector.h | ||
5 | +++ b/libutils/include/utils/Vector.h | ||
6 | @@ -256,7 +256,7 @@ | ||
7 | |||
8 | template<class TYPE> inline | ||
9 | const Vector<TYPE>& Vector<TYPE>::operator = (const Vector<TYPE>& rhs) const { | ||
10 | - VectorImpl::operator = (static_cast<const VectorImpl&>(rhs)); | ||
11 | + VectorImpl::operator = (rhs); | ||
12 | return *this; | ||
13 | } | ||
14 | |||