File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
#include < AK/Assertions.h>
8
- #include < AK/DeprecatedString.h>
9
8
#include < AK/IPv4Address.h>
10
9
#include < AK/JsonObject.h>
11
10
#include < AK/MACAddress.h>
@@ -56,10 +55,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
56
55
};
57
56
58
57
struct Column {
59
- DeprecatedString title;
58
+ StringView title;
60
59
Alignment alignment { Alignment::Left };
61
60
int width { 0 };
62
- DeprecatedString buffer;
61
+ StringView buffer;
63
62
};
64
63
65
64
Vector<Column> columns;
@@ -72,8 +71,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
72
71
return columns.size () - 1 ;
73
72
};
74
73
75
- proto_address_column = add_column (" Address" , Alignment::Left, 15 );
76
- hw_address_column = add_column (" HWaddress" , Alignment::Left, 15 );
74
+ proto_address_column = add_column (" Address" sv , Alignment::Left, 15 );
75
+ hw_address_column = add_column (" HWaddress" sv , Alignment::Left, 15 );
77
76
78
77
auto print_column = [](auto & column, auto & string) {
79
78
if (!column.width ) {
You can’t perform that action at this time.
0 commit comments