Apparently static keyword gives error but it compiles
This commit is contained in:
parent
459d9dd9fd
commit
304071cb0a
|
@ -134,7 +134,7 @@ namespace SHADE
|
||||||
/* Query Functions */
|
/* Query Functions */
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
std::optional<AssetID> SHResourceManager::GetAssetID(Handle<T> handle)
|
static std::optional<AssetID> SHResourceManager::GetAssetID(Handle<T> handle)
|
||||||
{
|
{
|
||||||
const Handle GENERIC_HANDLE = Handle(handle);
|
const Handle GENERIC_HANDLE = Handle(handle);
|
||||||
auto [typedHandleMap, typedAssetIdMap] = getAssetHandleMap<T>();
|
auto [typedHandleMap, typedAssetIdMap] = getAssetHandleMap<T>();
|
||||||
|
|
Loading…
Reference in New Issue