1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +00:00

GameOfLife: Replace DeprecatedString with String

This commit is contained in:
Tim Ledbetter 2023-09-13 17:48:12 +01:00 committed by Andrew Kaster
parent e3cd789ea8
commit 9cd3477763
3 changed files with 99 additions and 100 deletions

View file

@ -14,13 +14,13 @@
class Pattern final {
public:
Pattern(Vector<DeprecatedString>);
Vector<DeprecatedString> pattern() { return m_pattern; }
Pattern(Vector<String>&&);
Vector<String> pattern() const { return m_pattern; }
GUI::Action* action() { return m_action; }
void set_action(GUI::Action*);
void rotate_clockwise();
private:
RefPtr<GUI::Action> m_action;
Vector<DeprecatedString> m_pattern;
Vector<String> m_pattern;
};