Skip to content

Commit

Permalink
Make all ID_OFFSETs static
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Nov 6, 2024
1 parent ff02e95 commit 7c0d6c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/core/Portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -849,11 +849,11 @@ namespace Core {

struct EXTERNAL IUnknown : public IReferenceCounted {

constexpr uint32_t ID_OFFSET_INTERNAL = 0x00000000;
constexpr uint32_t ID_OFFSET_PUBLIC = 0x00000040;
constexpr uint32_t ID_OFFSET_CUSTOM = 0x80000000;
static constexpr uint32_t ID_OFFSET_INTERNAL = 0x00000000;
static constexpr uint32_t ID_OFFSET_PUBLIC = 0x00000040;
static constexpr uint32_t ID_OFFSET_CUSTOM = 0x80000000;

constexpr uint32_t ID = (ID_OFFSET_INTERNAL + 0x0000);
static constexpr uint32_t ID = (ID_OFFSET_INTERNAL + 0x0000);

~IUnknown() override = default;

Expand Down

0 comments on commit 7c0d6c2

Please sign in to comment.