Skip to content

Commit 6c217e7

Browse files
committed
style: format code
1 parent 26235e9 commit 6c217e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/xml_parsing.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,11 @@ void XMLParser::PImpl::loadDocImpl(XMLDocument* doc, bool add_includes)
261261
break;
262262
}
263263

264-
const char* path_attr = incl_node->Attribute("path");
265-
if (!path_attr) {
266-
throw RuntimeError("Invalid <include> tag: missing 'path' attribute");
267-
}
264+
const char* path_attr = incl_node->Attribute("path");
265+
if (!path_attr)
266+
{
267+
throw RuntimeError("Invalid <include> tag: missing 'path' attribute");
268+
}
268269

269270
#if __bt_cplusplus >= 202002L
270271
auto file_path{ std::filesystem::path(path_attr) };

0 commit comments

Comments
 (0)