Skip to content

Commit eebc9fe

Browse files
Merge pull request #783 from Devsh-Graphics-Programming/temp-fix-branch
Dependent typename annotations on Asset Converter
2 parents 08f54ba + 09833d9 commit eebc9fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nbl/video/utilities/CAssetConverter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2979,7 +2979,7 @@ ISemaphore::future_t<IQueue::RESULT> CAssetConverter::convert_impl(SReserveResul
29792979
}
29802980

29812981
// wipe gpu item in staging cache (this may drop it as well if it was made for only a root asset == no users)
2982-
auto findInStaging = [&reservations]<Asset AssetType>(const asset_traits<AssetType>::video_t* gpuObj)->core::blake3_hash_t*
2982+
auto findInStaging = [&reservations]<Asset AssetType>(const typename asset_traits<AssetType>::video_t* gpuObj)->core::blake3_hash_t*
29832983
{
29842984
auto& stagingCache = std::get<SReserveResult::staging_cache_t<AssetType>>(reservations.m_stagingCaches);
29852985
const auto found = stagingCache.find(const_cast<asset_traits<AssetType>::video_t*>(gpuObj));
@@ -3628,7 +3628,7 @@ ISemaphore::future_t<IQueue::RESULT> CAssetConverter::convert_impl(SReserveResul
36283628

36293629

36303630
// want to check if deps successfully exist
3631-
auto missingDependent = [&reservations]<Asset AssetType>(const asset_traits<AssetType>::video_t* dep)->bool
3631+
auto missingDependent = [&reservations]<Asset AssetType>(const typename asset_traits<AssetType>::video_t* dep)->bool
36323632
{
36333633
auto& stagingCache = std::get<SReserveResult::staging_cache_t<AssetType>>(reservations.m_stagingCaches);
36343634
auto found = stagingCache.find(const_cast<asset_traits<AssetType>::video_t*>(dep));

0 commit comments

Comments
 (0)