Bypass MSVC parser regression

This commit is contained in:
Lynix 2020-03-20 20:56:15 +01:00
parent 1c9a390d67
commit da5d8bc4c2
2 changed files with 16 additions and 8 deletions

View File

@ -136,6 +136,8 @@ namespace Nz
{ {
friend CullingList; friend CullingList;
using ParentType = Entry<CullTest::Box>;
public: public:
BoxEntry(); BoxEntry();
BoxEntry(BoxEntry&&) = default; BoxEntry(BoxEntry&&) = default;
@ -154,6 +156,8 @@ namespace Nz
{ {
friend CullingList; friend CullingList;
using ParentType = Entry<CullTest::NoTest>;
public: public:
NoTestEntry(); NoTestEntry();
NoTestEntry(NoTestEntry&&) = default; NoTestEntry(NoTestEntry&&) = default;
@ -170,6 +174,8 @@ namespace Nz
{ {
friend CullingList; friend CullingList;
using ParentType = Entry<CullTest::Sphere>;
public: public:
SphereEntry(); SphereEntry();
SphereEntry(SphereEntry&&) = default; SphereEntry(SphereEntry&&) = default;
@ -188,6 +194,8 @@ namespace Nz
{ {
friend CullingList; friend CullingList;
using ParentType = Entry<CullTest::Volume>;
public: public:
VolumeEntry(); VolumeEntry();
VolumeEntry(VolumeEntry&&) = default; VolumeEntry(VolumeEntry&&) = default;

View File

@ -424,13 +424,13 @@ namespace Nz
template<typename T> template<typename T>
CullingList<T>::BoxEntry::BoxEntry() : CullingList<T>::BoxEntry::BoxEntry() :
Entry<CullTest::Box>() ParentType()
{ {
} }
template<typename T> template<typename T>
CullingList<T>::BoxEntry::BoxEntry(CullingList* parent, std::size_t index) : CullingList<T>::BoxEntry::BoxEntry(CullingList* parent, std::size_t index) :
Entry<CullTest::Box>(parent, index) ParentType(parent, index)
{ {
} }
@ -444,13 +444,13 @@ namespace Nz
template<typename T> template<typename T>
CullingList<T>::NoTestEntry::NoTestEntry() : CullingList<T>::NoTestEntry::NoTestEntry() :
Entry<CullTest::NoTest>() ParentType()
{ {
} }
template<typename T> template<typename T>
CullingList<T>::NoTestEntry::NoTestEntry(CullingList* parent, std::size_t index) : CullingList<T>::NoTestEntry::NoTestEntry(CullingList* parent, std::size_t index) :
Entry<CullTest::NoTest>(parent, index) ParentType(parent, index)
{ {
} }
@ -458,13 +458,13 @@ namespace Nz
template<typename T> template<typename T>
CullingList<T>::SphereEntry::SphereEntry() : CullingList<T>::SphereEntry::SphereEntry() :
Entry<CullTest::Sphere>() ParentType()
{ {
} }
template<typename T> template<typename T>
CullingList<T>::SphereEntry::SphereEntry(CullingList* parent, std::size_t index) : CullingList<T>::SphereEntry::SphereEntry(CullingList* parent, std::size_t index) :
Entry<CullTest::Sphere>(parent, index) ParentType(parent, index)
{ {
} }
@ -478,13 +478,13 @@ namespace Nz
template<typename T> template<typename T>
CullingList<T>::VolumeEntry::VolumeEntry() : CullingList<T>::VolumeEntry::VolumeEntry() :
Entry<CullTest::Volume>() ParentType()
{ {
} }
template<typename T> template<typename T>
CullingList<T>::VolumeEntry::VolumeEntry(CullingList* parent, std::size_t index) : CullingList<T>::VolumeEntry::VolumeEntry(CullingList* parent, std::size_t index) :
Entry<CullTest::Volume>(parent, index) ParentType(parent, index)
{ {
} }