Clean-up: modernize pretty_xml.cpp
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 1 May 2024 15:21:04 +0000 (11:21 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 1 May 2024 16:08:00 +0000 (16:08 +0000)
Since pretty_xml was converted to C++, clang-tidy had a number of
grievances such as the use of NULL (instead of nullptr).

Since the file is very small, it is modernized to address those issues:
  - Wrap libxml2 resources in RAII wrappers
  - Use C++ IO APIs in lieu of fprintf

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie90e3e05130f7916f411e0de36e8aac72a0f790c


No differences found
This page took 0.024601 seconds and 4 git commands to generate.