cpuid;x86: ensure ostream simd key has a colon

This commit is contained in:
Danny Robson 2019-06-20 14:46:58 +10:00
parent 83449cf8d2
commit 72ea2450a2

View File

@ -96,7 +96,7 @@ cruft::cpu::operator<< (std::ostream &os, const x86 &val)
return os << cruft::format::printf ( return os << cruft::format::printf (
"{ name: { vendor: '%!', product: '%!' }" "{ name: { vendor: '%!', product: '%!' }"
", cores: { logical: %!, physical: %!, hyper_threading: %! }" ", cores: { logical: %!, physical: %!, hyper_threading: %! }"
", simd { sse: %!, sse2: %!, sse3: %!, ssse3: %!, sse41: %!, sse42: %! }" ", simd: { sse: %!, sse2: %!, sse3: %!, ssse3: %!, sse41: %!, sse42: %! }"
" }", " }",
cruft::view {val.vendor_name}, cruft::view {val.vendor_name},
cruft::view {val.product_name}, cruft::view {val.product_name},