Skip to content

Commit

Permalink
fix: static var rename
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Jan 21, 2022
1 parent b0e1c33 commit 6919096
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Code/components/es_loader/ESLoaderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ class ESLoaderTest : public ::testing::Test
static void SetUpTestSuite()
{
ESLoader loader;
m_collection = loader.BuildRecordCollection();
s_collection = loader.BuildRecordCollection();
}

UniquePtr<RecordCollection>& GetCollection()
{
return m_collection;
return s_collection;
}

static UniquePtr<RecordCollection> m_collection;
static UniquePtr<RecordCollection> s_collection;
};

UniquePtr<RecordCollection> ESLoaderTest::m_collection = nullptr;
UniquePtr<RecordCollection> ESLoaderTest::s_collection = nullptr;

TEST_F(ESLoaderTest, BuildRecordCollection)
{
Expand Down

0 comments on commit 6919096

Please sign in to comment.