Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Oct 30, 2024
1 parent 19debb6 commit de17b04
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cpp/src/Slice/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,13 @@ Slice::Container::createDictionary(
}
}

DictionaryPtr p = make_shared<Dictionary>(shared_from_this(), name, keyType, std::move(keyMetadata), valueType, std::move(valueMetadata));
DictionaryPtr p = make_shared<Dictionary>(
shared_from_this(),
name,
keyType,
std::move(keyMetadata),
valueType,
std::move(valueMetadata));
_unit->addContent(p);
_contents.push_back(p);
return p;
Expand Down Expand Up @@ -1648,7 +1654,8 @@ Slice::Container::createConst(
return nullptr;
}

ConstPtr p = make_shared<Const>(shared_from_this(), name, type, std::move(metadata), resolvedValueType, valueString);
ConstPtr p =
make_shared<Const>(shared_from_this(), name, type, std::move(metadata), resolvedValueType, valueString);
_unit->addContent(p);
_contents.push_back(p);
return p;
Expand Down

0 comments on commit de17b04

Please sign in to comment.