xo-indentlog: bugfix: commit should have ppdetail_stomic->ppdetail

This commit is contained in:
Roland Conybeare 2025-09-22 12:25:36 -04:00
commit 9a4914b0f7

View file

@ -13,10 +13,14 @@ namespace xo {
struct ppstate; // see pretty.hpp
struct ppindentinfo;
// Defining this means ppdetail_atomic is not used.
// Defining this means ppdetail_atomic -> ppdetail.
// For debugging suppress the #define; causes specialization of ppdetail_atomic to be required for every T
// that participates in pretty printing
//
// In that case where not explicitly specialized ppdetail will revert to ordinary printing for a type,
// instead of giving compile-time error about missing template specialization of ppdetail.
//#define ppdetail_atomic ppdetail
//
#define ppdetail_atomic ppdetail
struct ppindentinfo {
ppindentinfo(ppstate * pps, std::uint32_t ci0, std::uint32_t indent_width, bool upto)