cpuid/x86: correct libfmt specifier syntax
This commit is contained in:
parent
e1f864cd88
commit
f9c298fba5
@ -161,10 +161,12 @@ cruft::cpu::operator<< (std::ostream &os, const x86 &val)
|
|||||||
|
|
||||||
fmt::print (
|
fmt::print (
|
||||||
os,
|
os,
|
||||||
"{ name: { vendor: '{}', product: '{}' }"
|
FMT_STRING(
|
||||||
", cores: { logical: {}, physical: {}, hyper_threading: {} }"
|
"{{ name: {{ vendor: '{}', product: '{}' }}"
|
||||||
", simd: { sse: {}, sse2: {}, sse3: {}, ssse3: {}, sse41: {}, sse42: {}, avx: {} }"
|
", cores: {{ logical: {}, physical: {}, hyper_threading: {} }}"
|
||||||
" }",
|
", simd: {{ sse: {}, sse2: {}, sse3: {}, ssse3: {}, sse41: {}, sse42: {}, avx: {} }}"
|
||||||
|
" }}"
|
||||||
|
),
|
||||||
to_string (val.vendor_name),
|
to_string (val.vendor_name),
|
||||||
to_string (val.product_name),
|
to_string (val.product_name),
|
||||||
val.cores.logical,
|
val.cores.logical,
|
||||||
|
Loading…
Reference in New Issue
Block a user