From 5787565bfb2f8eb0e58472a510c83b7ed70c2305 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 20 Jan 2026 12:40:26 -0500 Subject: [PATCH] xo-reader2: + pretty-printing for ParserResult + use in utest --- include/xo/facet/FacetRegistry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xo/facet/FacetRegistry.hpp b/include/xo/facet/FacetRegistry.hpp index 2a3aa48..aa481a0 100644 --- a/include/xo/facet/FacetRegistry.hpp +++ b/include/xo/facet/FacetRegistry.hpp @@ -115,7 +115,7 @@ namespace xo { * obj foo * = ...; // Foo instance with variant impl * obj bar - * = FacetRegistry::variant(foo); + * = FacetRegistry::instance().variant(foo); * * // exception thrown if bar has null data * @@ -140,7 +140,7 @@ namespace xo { * obj foo * = ...; // Foo instance with variant impl * obj bar - * = FacetRegistry::try_variant(foo); + * = FacetRegistry::instance().try_variant(foo); * if (bar) { * // success * } else {