Change std::shared_ptr -> std::unique_ptr

This commit is contained in:
Joakim Hove
2019-08-15 12:29:13 +02:00
parent 79a2c1bd4d
commit 1d5326f664
4 changed files with 10 additions and 10 deletions

View File

@@ -1612,7 +1612,7 @@ BOOST_AUTO_TEST_CASE(ParseEmptyRecord) {
const auto& tabdimsKeyword = createFixedSized("TEST" , 1);
ParserRecord record;
ParserItem item("ITEM", INT);
auto rawkeyword = std::make_shared< RawKeyword >( tabdimsKeyword->getName() , "FILE" , 10U , 1 , true, false);
auto rawkeyword = std::make_unique< RawKeyword >( tabdimsKeyword->getName() , "FILE" , 10U , 1 , true, false);
ParseContext parseContext;
ErrorGuard errors;