mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
AK: Add String::copy(BufferType) helper.
This will create a String from any BufferType that has data() and size().
This commit is contained in:
parent
5eedb22834
commit
ab94a6be00
11 changed files with 31 additions and 27 deletions
|
@ -106,7 +106,7 @@ private:
|
|||
void handle_rpl_namreply(const Message&);
|
||||
void handle_privmsg(const Message&);
|
||||
void handle_nick(const Message&);
|
||||
void handle(const Message&, const String& verbatim);
|
||||
void handle(const Message&);
|
||||
void handle_user_command(const String&);
|
||||
|
||||
void on_socket_connected();
|
||||
|
@ -117,7 +117,6 @@ private:
|
|||
CTCPSocket* m_socket { nullptr };
|
||||
|
||||
String m_nickname;
|
||||
Vector<char> m_line_buffer;
|
||||
OwnPtr<CNotifier> m_notifier;
|
||||
HashMap<String, RetainPtr<IRCChannel>> m_channels;
|
||||
HashMap<String, RetainPtr<IRCQuery>> m_queries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue