mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123323 - Ensure that xptiTypelibGuts cannot have a vtable; r=froydnj
This commit is contained in:
parent
2389b6fdd3
commit
9869a058a8
@ -10,6 +10,13 @@
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
// Ensure through static analysis that xptiTypelibGuts won't have a vtable.
|
||||
template <class T>
|
||||
class MOZ_NEEDS_NO_VTABLE_TYPE CheckNoVTable
|
||||
{
|
||||
};
|
||||
CheckNoVTable<xptiTypelibGuts> gChecker;
|
||||
|
||||
// static
|
||||
xptiTypelibGuts*
|
||||
xptiTypelibGuts::Create(XPTHeader* aHeader)
|
||||
|
Loading…
Reference in New Issue
Block a user