summaryrefslogtreecommitdiff
path: root/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-12-22 19:59:32 -0500
committerLioncash <mathew1800@gmail.com>2015-12-22 20:09:54 -0500
commit8371c428cd1c3646776743f8da4bdf8c827ed487 (patch)
treeb01710ce88d5401330459644ab064c57c1bb7033 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
parent3cf16f85738bbcff0a5c4027f26adf30f548bb59 (diff)
VertexLoaderBase: Get rid of explicit delete and new
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
-rw-r--r--Source/UnitTests/VideoCommon/VertexLoaderTest.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}