Skip to content

Commit

Permalink
Define g_efiUuid as inline constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech authored and Inokinoki committed Oct 31, 2024
1 parent 645d5ce commit f231d32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion qefientrystaticlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
#define dec Qt::dec
#endif

QUuid g_efiUuid=QUuid("8be4df61-93ca-11d2-aa0d-00e098032b8c");
// Defined in UEFI Spec as "EFI_GLOBAL_VARIABLE"
constexpr QUuid g_efiUuid = QUuid(0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00,
0xe0, 0x98, 0x03, 0x2b, 0x8c);

QEFIEntryStaticList::QEFIEntryStaticList()
{
Expand Down
3 changes: 0 additions & 3 deletions qefientrystaticlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

#include <qefientry.h>

extern QUuid g_efiUuid;


class QEFIEntryStaticList
{
private:
Expand Down

0 comments on commit f231d32

Please sign in to comment.