From 70643a9e4821bd11c3f363f1708fe420965467d1 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Fri, 28 Aug 2026 22:17:10 +0200 Subject: Format again --- server/src/xml.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/src/xml.cpp') diff --git a/server/src/xml.cpp b/server/src/xml.cpp index c1b4358..7cf4415 100644 --- a/server/src/xml.cpp +++ b/server/src/xml.cpp @@ -22,7 +22,7 @@ executor::executor() : p_{XML_ParserCreateNS("UTF-8", detail::qname_sep)} XML_SetProcessingInstructionHandler(p_, handle_processing_instructions); XML_SetExternalEntityRefHandler(p_, handle_external_entity_ref); XML_SetNamespaceDeclHandler( - p_, handle_start_namespace_decl, handle_end_namespace_decl); + p_, handle_start_namespace_decl, handle_end_namespace_decl); XML_SetXmlDeclHandler(p_, handle_xml_decl); } @@ -41,7 +41,7 @@ auto executor::read(std::string_view xml, bool is_final) -> void throw std::runtime_error{"refusing to restart parser that was thrown in"}; // TODO: narrow_cast if (auto s = - XML_Parse(p_, xml.data(), static_cast(xml.size()), is_final); + XML_Parse(p_, xml.data(), static_cast(xml.size()), is_final); s != XML_STATUS_OK) { auto errc = XML_GetErrorCode(p_); @@ -53,7 +53,7 @@ auto executor::read(std::string_view xml, bool is_final) -> void else { throw std::runtime_error{std::format( - "failed to parse XML: {}", XML_ErrorString(errc))}; + "failed to parse XML: {}", XML_ErrorString(errc))}; } } } -- cgit v1.3