Replaced remaining MakeUnique
parent
b12e5ad7cd
commit
ee9f9d875d
|
@ -541,7 +541,7 @@ bool CApplication::Create()
|
|||
}
|
||||
#else
|
||||
GetLogger()->Info("No sound support.\n");
|
||||
m_sound = MakeUnique<CSoundInterface>();
|
||||
m_sound = std::make_unique<CSoundInterface>();
|
||||
#endif
|
||||
|
||||
m_sound->Create();
|
||||
|
@ -685,7 +685,7 @@ bool CApplication::Create()
|
|||
}
|
||||
//else
|
||||
//{
|
||||
// m_device = MakeUnique<Gfx::CNullDevice>();
|
||||
// m_device = std::make_unique<Gfx::CNullDevice>();
|
||||
//}
|
||||
|
||||
if (! m_device->Create() )
|
||||
|
|
|
@ -69,7 +69,7 @@ void CLightManagerUT::SetUp()
|
|||
m_engine = m_mocks.Mock<CEngine>();
|
||||
m_device = m_mocks.Mock<CDevice>();
|
||||
|
||||
m_lightManager = MakeUnique<CLightManager>(m_engine);
|
||||
m_lightManager = std::make_unique<CLightManager>(m_engine);
|
||||
}
|
||||
|
||||
void CLightManagerUT::PrepareLightTesting(int maxLights, glm::vec3 eyePos)
|
||||
|
|
Loading…
Reference in New Issue