Index: test/ConsoleJsObject.cpp |
=================================================================== |
--- a/test/ConsoleJsObject.cpp |
+++ b/test/ConsoleJsObject.cpp |
@@ -35,17 +35,15 @@ |
} |
}; |
- typedef std::tr1::shared_ptr<MockLogSystem> MockLogSystemPtr; |
- |
class ConsoleJsObjectTest : public BaseJsTest |
{ |
protected: |
- MockLogSystemPtr mockLogSystem; |
+ std::shared_ptr<MockLogSystem> mockLogSystem; |
- void SetUp() |
+ void SetUp() override |
{ |
BaseJsTest::SetUp(); |
- mockLogSystem = MockLogSystemPtr(new MockLogSystem); |
+ mockLogSystem = std::make_shared<MockLogSystem>(); |
jsEngine->SetLogSystem(mockLogSystem); |
} |
}; |