mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
ircd::fmt: Remove const on declared return types.
This commit is contained in:
parent
2fbb7d1521
commit
8f65df5f1f
1 changed files with 5 additions and 5 deletions
10
ircd/fmt.cc
10
ircd/fmt.cc
|
@ -1051,9 +1051,9 @@ const
|
|||
});
|
||||
|
||||
struct generator
|
||||
:karma::grammar<char *, const string_view>
|
||||
:karma::grammar<char *, string_view>
|
||||
{
|
||||
karma::rule<char *, const string_view> string
|
||||
karma::rule<char *, 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 *, 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 *, 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 *, string_view (ushort, char)> aligned_center
|
||||
{
|
||||
karma::center(width, pad)[string]
|
||||
,"center aligned"
|
||||
|
|
Loading…
Reference in a new issue