Graphics/CullingList: Fix compilation (Thanks MSVC!)

This commit is contained in:
Lynix 2016-11-28 17:26:52 +01:00
parent 7e7549b182
commit d37a9d0230
1 changed files with 6 additions and 1 deletions

View File

@ -356,7 +356,12 @@ namespace Nz
template<typename T>
template<CullTest Type>
#ifdef NAZARA_COMPILER_MSVC
// MSVC bug
typename CullingList<T>::Entry<Type>& CullingList<T>::Entry<Type>::operator=(Entry&& entry)
#else
typename CullingList<T>::template Entry<Type>& CullingList<T>::Entry<Type>::operator=(Entry&& entry)
#endif
{
m_index = entry.m_index;
m_parent = entry.m_parent;
@ -403,7 +408,7 @@ namespace Nz
}
//////////////////////////////////////////////////////////////////////////
template<typename T>
CullingList<T>::VolumeEntry::VolumeEntry() :
Entry<CullTest::Volume>()