0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::fmt: Fix assert from 737d9dd1626; possibly fix clang ref bug related f65839b1e5 20bc23abde.

This commit is contained in:
Jason Volk 2020-02-25 18:44:59 -08:00
parent b61a566b03
commit 2f7004b994

View file

@ -1051,9 +1051,9 @@ const
});
struct generator
:karma::grammar<char *, const string_view &>
:karma::grammar<char *, const string_view>
{
karma::rule<char *, const string_view &> string
karma::rule<char *, const string_view> string
{
*(karma::print)
,"string"
@ -1061,19 +1061,19 @@ const
_r1_type width;
_r2_type pad;
karma::rule<char *, const string_view &(ushort, char)> aligned_left
karma::rule<char *, const string_view (ushort, char)> aligned_left
{
karma::left_align(width, pad)[string]
,"left aligned"
};
karma::rule<char *, const string_view &(ushort, char)> aligned_right
karma::rule<char *, const string_view (ushort, char)> aligned_right
{
karma::right_align(width, pad)[string]
,"right aligned"
};
karma::rule<char *, const string_view &(ushort, char)> aligned_center
karma::rule<char *, const string_view (ushort, char)> aligned_center
{
karma::center(width, pad)[string]
,"center aligned"