File tree 9 files changed +9
-9
lines changed
bouffalolab/common/rpc/pw_sys_io
9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ Status WriteByte(std::byte b)
69
69
}
70
70
71
71
// Writes a string using pw::sys_io, and add newline characters at the end.
72
- StatusWithSize WriteLine (const std::string_view & s)
72
+ StatusWithSize WriteLine (const std::string_view s)
73
73
{
74
74
size_t chars_written = 0 ;
75
75
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Status WriteByte(std::byte b)
42
42
}
43
43
44
44
// Writes a string using pw::sys_io, and add newline characters at the end.
45
- StatusWithSize WriteLine (const std::string_view & s)
45
+ StatusWithSize WriteLine (const std::string_view s)
46
46
{
47
47
size_t chars_written = 0 ;
48
48
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ Status WriteByte(std::byte b)
93
93
}
94
94
95
95
// Writes a string using pw::sys_io, and add newline characters at the end.
96
- StatusWithSize WriteLine (const std::string_view & s)
96
+ StatusWithSize WriteLine (const std::string_view s)
97
97
{
98
98
size_t chars_written = 0 ;
99
99
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Status WriteByte(std::byte b)
57
57
}
58
58
59
59
// Writes a string using pw::sys_io, and add newline characters at the end.
60
- StatusWithSize WriteLine (const std::string_view & s)
60
+ StatusWithSize WriteLine (const std::string_view s)
61
61
{
62
62
size_t chars_written = 0 ;
63
63
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Status WriteByte(std::byte b)
58
58
}
59
59
60
60
// Writes a string using pw::sys_io, and add newline characters at the end.
61
- StatusWithSize WriteLine (const std::string_view & s)
61
+ StatusWithSize WriteLine (const std::string_view s)
62
62
{
63
63
size_t chars_written = 0 ;
64
64
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Status WriteByte(std::byte b)
60
60
}
61
61
62
62
// Writes a string using pw::sys_io, and add newline characters at the end.
63
- StatusWithSize WriteLine (const std::string_view & s)
63
+ StatusWithSize WriteLine (const std::string_view s)
64
64
{
65
65
size_t chars_written = 0 ;
66
66
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Status WriteByte(std::byte b)
58
58
}
59
59
60
60
// Writes a string using pw::sys_io, and add newline characters at the end.
61
- StatusWithSize WriteLine (const std::string_view & s)
61
+ StatusWithSize WriteLine (const std::string_view s)
62
62
{
63
63
size_t chars_written = 0 ;
64
64
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Status WriteByte(std::byte b)
63
63
}
64
64
65
65
// Writes a string using pw::sys_io, and add newline characters at the end.
66
- StatusWithSize WriteLine (const std::string_view & s)
66
+ StatusWithSize WriteLine (const std::string_view s)
67
67
{
68
68
size_t chars_written = 0 ;
69
69
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ Status WriteByte(std::byte b)
73
73
}
74
74
75
75
// Writes a string using pw::sys_io, and add newline characters at the end.
76
- StatusWithSize WriteLine (const std::string_view & s)
76
+ StatusWithSize WriteLine (const std::string_view s)
77
77
{
78
78
size_t chars_written = 0 ;
79
79
StatusWithSize result = WriteBytes (pw::as_bytes (pw::span (s)));
You can’t perform that action at this time.
0 commit comments