[ZoneBuilder] Inline pointer conversion

This commit is contained in:
momo5502 2016-12-23 00:24:25 +01:00
parent 48059698c1
commit da59feb2d6

View File

@ -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);