diff options
Diffstat (limited to 'project2/common/unittests/testConfig.cpp')
-rw-r--r-- | project2/common/unittests/testConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/common/unittests/testConfig.cpp b/project2/common/unittests/testConfig.cpp index 10e2a04..664fe16 100644 --- a/project2/common/unittests/testConfig.cpp +++ b/project2/common/unittests/testConfig.cpp @@ -9,7 +9,7 @@ BOOST_AUTO_TEST_CASE( config_application_value ) TestOptionsSource::LoadTestOptions({ { "application.data", "testvalue" } }); - Variable::VariableImplPtr c = VariableFactory::createNew("config", new TestScriptNode({ + Variable::VariableImplPtr c = VariableFactory::createNew("config", std::make_shared<TestScriptNode, TestScriptNode::Vars>({ { "name", VariableType("data") } })); BOOST_REQUIRE(c); |