1
Fork 0
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:
Karol Kosek 2023-05-14 19:02:08 +02:00 committed by Andreas Kling
parent 741f07dedf
commit 945f05ed76
70 changed files with 218 additions and 222 deletions

View file

@ -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();
}