Merge pull request #10484 from Morph1984/fmt10
externals: Update to fmt 10 and add format_as formatter for BitField
This commit is contained in:
commit
53fd08b360
|
@ -1 +1 @@
|
||||||
Subproject commit a7b6122f6b6504d16d96117336a0562693579933
|
Subproject commit 656fcc6ab2b05c6d999b7eaca717027ac3738f71
|
|
@ -188,3 +188,8 @@ private:
|
||||||
|
|
||||||
template <std::size_t Position, std::size_t Bits, typename T>
|
template <std::size_t Position, std::size_t Bits, typename T>
|
||||||
using BitFieldBE = BitField<Position, Bits, T, BETag>;
|
using BitFieldBE = BitField<Position, Bits, T, BETag>;
|
||||||
|
|
||||||
|
template <std::size_t Position, std::size_t Bits, typename T, typename EndianTag = LETag>
|
||||||
|
inline auto format_as(BitField<Position, Bits, T, EndianTag> bitfield) {
|
||||||
|
return bitfield.Value();
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||||
"name": "yuzu",
|
"name": "yuzu",
|
||||||
"builtin-baseline": "acc3bcf76b84ae5041c86ab55fe138ae7b8255c7",
|
"builtin-baseline": "656fcc6ab2b05c6d999b7eaca717027ac3738f71",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"boost-algorithm",
|
"boost-algorithm",
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fmt",
|
"name": "fmt",
|
||||||
"version": "9.0.0"
|
"version": "10.0.0"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue