Skip to content

Commit 37d5a9c

Browse files
committed
clang format
1 parent e6382dd commit 37d5a9c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/resource/factory/DisplayListFactory.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ std::shared_ptr<IResource> ResourceFactoryXMLDisplayListV0::ReadResource(std::sh
172172
}
173173

174174
auto dl = std::make_shared<DisplayList>(file->InitData);
175-
auto child = std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement()->FirstChildElement();
175+
auto child =
176+
std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement()->FirstChildElement();
176177

177178
while (child != nullptr) {
178179
std::string childName = child->Name();

src/resource/factory/VertexFactory.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ std::shared_ptr<IResource> ResourceFactoryXMLVertexV0::ReadResource(std::shared_
3939

4040
auto vertex = std::make_shared<Vertex>(file->InitData);
4141

42-
auto child = std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement()->FirstChildElement();
42+
auto child =
43+
std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement()->FirstChildElement();
4344

4445
while (child != nullptr) {
4546
std::string childName = child->Name();

0 commit comments

Comments
 (0)