From d68d4495395cabc10407e088b6781bf7ee5035e1 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sat, 11 Apr 2026 03:28:01 +0800 Subject: style: apply consistent code formatting and bracing style across the codebase --- include/ricochet/parser/dom_tree.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/ricochet/parser/dom_tree.hh') diff --git a/include/ricochet/parser/dom_tree.hh b/include/ricochet/parser/dom_tree.hh index b1e4812..e3b3664 100644 --- a/include/ricochet/parser/dom_tree.hh +++ b/include/ricochet/parser/dom_tree.hh @@ -26,10 +26,11 @@ namespace ricochet::parser { /** * @brief DOM Node. Pure value semantics, no pointers. */ -struct DomNode { - std::string tag_name{}; // If empty, it's a pure text node - std::string text_content{}; // Only meaningful when tag_name is empty - std::vector children{}; // Recursive child nodes list +struct DomNode +{ + std::string tag_name {}; // If empty, it's a pure text node + std::string text_content {}; // Only meaningful when tag_name is empty + std::vector children {}; // Recursive child nodes list }; } // namespace ricochet::parser \ No newline at end of file -- cgit v1.2.3