xo-unit: bugfix: missing ppdetail_atomic check

This commit is contained in:
Roland Conybeare 2025-09-03 23:59:52 -04:00
commit 7793097cfe

View file

@ -22,6 +22,7 @@ namespace xo {
} /*namespace qty*/
namespace print {
#ifndef ppdetail_atomic
template <auto NaturalUnit, typename Repr>
struct ppdetail<xo::qty::quantity<NaturalUnit, Repr>> {
using target_type = xo::qty::quantity<NaturalUnit, Repr>;
@ -30,6 +31,7 @@ namespace xo {
return ppdetail_atomic<target_type>::print_pretty(ppii, x);
}
};
#endif
} /*namespace print*/
} /*namespace xo*/