mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791608 (part 6) - Fix compile warnings about ObjectImpl::writeBarrierPre(). r=jwalden.
--HG-- extra : rebase_source : 57115245e52573641978199620c6b5abb6528f79
This commit is contained in:
parent
f89131c7a7
commit
8ec35ae331
@ -16,6 +16,13 @@
|
||||
|
||||
namespace js {
|
||||
|
||||
template <typename T, typename Unioned>
|
||||
void
|
||||
EncapsulatedPtr<T, Unioned>::pre()
|
||||
{
|
||||
T::writeBarrierPre(value);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline void
|
||||
RelocatablePtr<T>::post()
|
||||
|
@ -173,7 +173,7 @@ class EncapsulatedPtr
|
||||
operator T*() const { return value; }
|
||||
|
||||
protected:
|
||||
void pre() { T::writeBarrierPre(value); }
|
||||
void pre();
|
||||
};
|
||||
|
||||
template <class T, class Unioned = uintptr_t>
|
||||
|
Loading…
Reference in New Issue
Block a user