mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1188206 - Fix more constructors in gfx; r=jrmuizel
This commit is contained in:
parent
03166bf29d
commit
6475fc4b90
@ -36,7 +36,7 @@ struct ReferencePtr
|
||||
{}
|
||||
|
||||
template <typename T>
|
||||
ReferencePtr(const RefPtr<T>& aPtr)
|
||||
MOZ_IMPLICIT ReferencePtr(const RefPtr<T>& aPtr)
|
||||
: mLongPtr(uint64_t(aPtr.get()))
|
||||
{}
|
||||
|
||||
|
@ -23,7 +23,7 @@ class HeapCopyOfStackArray
|
||||
{
|
||||
public:
|
||||
template<size_t N>
|
||||
HeapCopyOfStackArray(ElemType (&array)[N])
|
||||
MOZ_IMPLICIT HeapCopyOfStackArray(ElemType (&array)[N])
|
||||
: mArrayLength(N)
|
||||
, mArrayData(new ElemType[N])
|
||||
{
|
||||
@ -44,4 +44,4 @@ private:
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // HEAPCOPYOFSTACKARRAY_H_
|
||||
#endif // HEAPCOPYOFSTACKARRAY_H_
|
||||
|
Loading…
Reference in New Issue
Block a user