xo-indentlog: bugfix: commit should have ppdetail_stomic->ppdetail
This commit is contained in:
parent
91e972a4cf
commit
9a4914b0f7
1 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue