diff options
author | louiz’ <louiz@louiz.org> | 2019-09-23 22:17:27 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2019-09-23 22:17:27 +0200 |
commit | 3339ce2cc0be9cc15a6cd9571025846edd1bef20 (patch) | |
tree | 0f3fd9917870fdd20998d55efc638dc152fc0ba9 /src/irc | |
parent | b7b54d8f0e08107508e7d74666a1bfb00e06aa5d (diff) | |
download | biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.gz biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.bz2 biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.xz biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.zip |
Trivial little naming changes
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 2 | ||||
-rw-r--r-- | src/irc/irc_client.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 0b5715e..de38d42 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -398,7 +398,7 @@ void IrcClient::parse_in_buffer(const size_t) } } -void IrcClient::actual_send(std::pair<IrcMessage, MessageCallback> message_pair) +void IrcClient::actual_send(std::pair<IrcMessage, MessageCallback>&& message_pair) { const IrcMessage& message = message_pair.first; const MessageCallback& callback = message_pair.second; diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp index 674f3ff..cfb3d21 100644 --- a/src/irc/irc_client.hpp +++ b/src/irc/irc_client.hpp @@ -92,7 +92,7 @@ public: */ void send_message(IrcMessage message, MessageCallback callback={}, bool throttle=true); void send_raw(const std::string& txt); - void actual_send(std::pair<IrcMessage, MessageCallback> message_pair); + void actual_send(std::pair<IrcMessage, MessageCallback>&& message_pair); /** * Send the PONG irc command */ |