xo-unit: bugfix: missing ppdetail_atomic check
This commit is contained in:
parent
3344fb4749
commit
7793097cfe
1 changed files with 2 additions and 0 deletions
|
|
@ -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*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue