mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 976927 support nsAutoTArray::operator=(const nsTArray&) r=froydnj
--HG-- extra : rebase_source : 9835cd5b05427611d5e490eee88602b2578dc0b8
This commit is contained in:
parent
ea82aafee4
commit
3ed6850be8
@ -2003,6 +2003,13 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
template<typename Allocator>
|
||||
self_type& operator=(const nsTArray_Impl<E, Allocator>& other)
|
||||
{
|
||||
Base::operator=(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator const AutoFallibleTArray<E, N>&() const
|
||||
{
|
||||
return *reinterpret_cast<const AutoFallibleTArray<E, N>*>(this);
|
||||
@ -2033,6 +2040,13 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
template<typename Allocator>
|
||||
self_type& operator=(const nsTArray_Impl<E, Allocator>& other)
|
||||
{
|
||||
Base::operator=(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator const nsAutoTArray<E, N>&() const
|
||||
{
|
||||
return *reinterpret_cast<const nsAutoTArray<E, N>*>(this);
|
||||
|
Loading…
Reference in New Issue
Block a user