Add default ctor

This commit is contained in:
Jief L 2020-03-04 19:34:05 +03:00
parent 0812cdb6d5
commit bd9458b270

View File

@ -310,6 +310,9 @@ public:
EG_IMAGE *DriveImage; EG_IMAGE *DriveImage;
EG_IMAGE *BadgeImage; EG_IMAGE *BadgeImage;
REFIT_MENU_ITEM_ABSTRACT_ENTRY_LOADER()
: Volume(0), DevicePathString(0), LoadOptions(0), BootNum(0), LoaderPath(0), DriveImage(0), BadgeImage(0)
{}
virtual EG_IMAGE* getDriveImage() const { return DriveImage; }; virtual EG_IMAGE* getDriveImage() const { return DriveImage; };
virtual EG_IMAGE* getBadgeImage() const { return BadgeImage; }; virtual EG_IMAGE* getBadgeImage() const { return BadgeImage; };
@ -333,6 +336,10 @@ public:
KERNEL_AND_KEXT_PATCHES *KernelAndKextPatches; KERNEL_AND_KEXT_PATCHES *KernelAndKextPatches;
CONST CHAR16 *Settings; CONST CHAR16 *Settings;
LOADER_ENTRY()
: REFIT_MENU_ITEM_ABSTRACT_ENTRY_LOADER(), VolName(0), DevicePath(0), Flags(0), LoaderType(0), OSVersion(0), BuildVersion(0), BootBgColor(0), CustomBoot(0), CustomLogo(0), KernelAndKextPatches(0), Settings(0)
{};
virtual LOADER_ENTRY* getLOADER_ENTRY() { return this; }; virtual LOADER_ENTRY* getLOADER_ENTRY() { return this; };
} ; } ;