mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 763604 - Use typename for type parameters of template template parameters in BindingUtil.h - r=bz
This commit is contained in:
parent
7a3fe9a05f
commit
de4a33c534
@ -331,7 +331,7 @@ WrapNewBindingObject(JSContext* cx, JSObject* scope, T* value, JS::Value* vp)
|
||||
}
|
||||
|
||||
// Helper for smart pointers (nsAutoPtr/nsRefPtr/nsCOMPtr).
|
||||
template <template <class> class SmartPtr, class T>
|
||||
template <template <typename> class SmartPtr, class T>
|
||||
inline bool
|
||||
WrapNewBindingObject(JSContext* cx, JSObject* scope, const SmartPtr<T>& value,
|
||||
JS::Value* vp)
|
||||
@ -362,7 +362,7 @@ HandleNewBindingWrappingFailure(JSContext* cx, JSObject* scope, T* value,
|
||||
}
|
||||
|
||||
// Helper for smart pointers (nsAutoPtr/nsRefPtr/nsCOMPtr).
|
||||
template <template <class> class SmartPtr, class T>
|
||||
template <template <typename> class SmartPtr, class T>
|
||||
MOZ_ALWAYS_INLINE bool
|
||||
HandleNewBindingWrappingFailure(JSContext* cx, JSObject* scope,
|
||||
const SmartPtr<T>& value, JS::Value* vp)
|
||||
@ -439,7 +439,7 @@ struct ParentObject {
|
||||
mWrapperCache(GetWrapperCache(aObject))
|
||||
{}
|
||||
|
||||
template<class T, template<class> class SmartPtr>
|
||||
template<class T, template<typename> class SmartPtr>
|
||||
ParentObject(const SmartPtr<T>& aObject) :
|
||||
mObject(aObject.get()),
|
||||
mWrapperCache(GetWrapperCache(aObject.get()))
|
||||
|
Loading…
Reference in New Issue
Block a user