From 8371c428cd1c3646776743f8da4bdf8c827ed487 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 22 Dec 2015 19:59:32 -0500 Subject: VertexLoaderBase: Get rid of explicit delete and new --- Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp') diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp index 84e1029e2e..9ca8befc95 100644 --- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp +++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp @@ -61,7 +61,7 @@ protected: void CreateAndCheckSizes(size_t input_size, size_t output_size) { - m_loader.reset(VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr)); + m_loader = VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr); ASSERT_EQ((int)input_size, m_loader->m_VertexSize); ASSERT_EQ((int)output_size, m_loader->m_native_vtx_decl.stride); } -- cgit v1.2.3