[ZoneBuilder] Inline pointer conversion
This commit is contained in:
parent
48059698c1
commit
da59feb2d6
@ -22,7 +22,7 @@ namespace Components
|
||||
void storePointer(const void* pointer);
|
||||
|
||||
template<typename T>
|
||||
T* getPointer(const T* pointer) { return reinterpret_cast<T*>(this->safeGetPointer(pointer)); }
|
||||
inline T* getPointer(const T* pointer) { return reinterpret_cast<T*>(this->safeGetPointer(pointer)); }
|
||||
|
||||
int findAsset(Game::XAssetType type, std::string name);
|
||||
Game::XAsset* getAsset(int index);
|
||||
|
Loading…
Reference in New Issue
Block a user