We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d27d9 commit 7b382d1Copy full SHA for 7b382d1
include/nbl/asset/IAsset.h
@@ -131,11 +131,11 @@ class IAsset : virtual public core::IReferenceCounted
131
{
132
if (!rootAsset)
133
return nullptr;
134
- assetType* image = rootAsset->getAssetType()!=assetType::AssetType ? nullptr:static_cast<assetType*>(rootAsset);
+ assetType* typedAsset = rootAsset->getAssetType()!=assetType::AssetType ? nullptr:static_cast<assetType*>(rootAsset);
135
#ifdef _NBL_DEBUG
136
- assert(image);
+ assert(typedAsset);
137
#endif
138
- return image;
+ return typedAsset;
139
}
140
//! Smart pointer variant
141
template<typename assetType>
0 commit comments