Skip to content

Commit

Permalink
Changes uses of SWIZZLE_HERE_I_AM to SWIZZLE_REGISTER_POINTER due to …
Browse files Browse the repository at this point in the history
…TS++ change.
  • Loading branch information
CCHyper committed Sep 22, 2022
1 parent aec1558 commit 174c27a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/extensions/extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ HRESULT Extension<T>::Load(IStream *pStm)
/**
* Announce ourself to the swizzle manager.
*/
SWIZZLE_HERE_I_AM(id, this);
SWIZZLE_REGISTER_POINTER(id, this);

/**
* Request the pointer to the base class be remapped.
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/rules/rulesext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ HRESULT RulesClassExtension::Load(IStream *pStm)

new (this) RulesClassExtension(NoInitClass());

SWIZZLE_HERE_I_AM(id, this);
SWIZZLE_REGISTER_POINTER(id, this);

#ifndef NDEBUG
EXT_DEBUG_INFO("RulesExt Load: ID 0x%08X Ptr 0x%08X\n", id, this);
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/scenario/scenarioext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ HRESULT ScenarioClassExtension::Load(IStream *pStm)

new (this) ScenarioClassExtension(NoInitClass());

SWIZZLE_HERE_I_AM(id, this);
SWIZZLE_REGISTER_POINTER(id, this);

#ifndef NDEBUG
EXT_DEBUG_INFO("ScenarioExt Load: ID 0x%08X Ptr 0x%08X\n", id, this);
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/tactical/tacticalext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ HRESULT TacticalMapExtension::Load(IStream *pStm)

new (this) TacticalMapExtension(NoInitClass());

SWIZZLE_HERE_I_AM(id, this);
SWIZZLE_REGISTER_POINTER(id, this);

#ifndef NDEBUG
EXT_DEBUG_INFO("TacticalExt Load: ID 0x%08X Ptr 0x%08X\n", id, this);
Expand Down

0 comments on commit 174c27a

Please sign in to comment.