Graphics/CullingList: Fix compilation (Thanks MSVC!)
This commit is contained in:
@@ -356,7 +356,12 @@ namespace Nz
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
template<CullTest Type>
|
template<CullTest Type>
|
||||||
|
#ifdef NAZARA_COMPILER_MSVC
|
||||||
|
// MSVC bug
|
||||||
typename CullingList<T>::Entry<Type>& CullingList<T>::Entry<Type>::operator=(Entry&& entry)
|
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_index = entry.m_index;
|
||||||
m_parent = entry.m_parent;
|
m_parent = entry.m_parent;
|
||||||
@@ -403,7 +408,7 @@ namespace Nz
|
|||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
CullingList<T>::VolumeEntry::VolumeEntry() :
|
CullingList<T>::VolumeEntry::VolumeEntry() :
|
||||||
Entry<CullTest::Volume>()
|
Entry<CullTest::Volume>()
|
||||||
|
|||||||
Reference in New Issue
Block a user