mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Userland: Port Model::column_name()
to String
This commit is contained in:
parent
741f07dedf
commit
945f05ed76
70 changed files with 218 additions and 222 deletions
|
@ -64,13 +64,13 @@ public:
|
|||
return Columns::Page;
|
||||
}
|
||||
|
||||
DeprecatedString column_name(int index) const override
|
||||
String column_name(int index) const override
|
||||
{
|
||||
switch (index) {
|
||||
case 0:
|
||||
return "Page";
|
||||
return "Page"_short_string;
|
||||
case 1:
|
||||
return "Message";
|
||||
return "Message"_short_string;
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue