mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Chess: Replace usage of DeprecatedString
This commit is contained in:
parent
a94c0eea94
commit
eb85291a18
5 changed files with 38 additions and 29 deletions
|
@ -15,7 +15,7 @@ class Engine : public Chess::UCI::Endpoint {
|
|||
public:
|
||||
virtual ~Engine() override;
|
||||
|
||||
Engine(StringView command);
|
||||
Engine(String command);
|
||||
|
||||
Engine(Engine const&) = delete;
|
||||
Engine& operator=(Engine const&) = delete;
|
||||
|
@ -51,7 +51,7 @@ private:
|
|||
void quit();
|
||||
void connect_to_engine_service();
|
||||
|
||||
DeprecatedString m_command;
|
||||
String m_command;
|
||||
Function<void(ErrorOr<Chess::Move>)> m_bestmove_callback;
|
||||
bool m_connected { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue