mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 13:29:08 +00:00
Removed unused constructor chat_message.
This commit is contained in:
parent
7f91fb9e41
commit
2ea1ddf936
@ -41,11 +41,6 @@ chat_message::chat_message(const time_t& timestamp, const std::string& user, con
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
chat_message::chat_message(const std::string& user, const std::string& message)
|
|
||||||
: timestamp(time(0)), user(user), message(message)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
chat_log::chat_log()
|
chat_log::chat_log()
|
||||||
: history_()
|
: history_()
|
||||||
{
|
{
|
||||||
|
@ -29,9 +29,6 @@ struct chat_message
|
|||||||
/** Create a chat message */
|
/** Create a chat message */
|
||||||
chat_message(const time_t& timestamp, const std::string& user, const std::string& message);
|
chat_message(const time_t& timestamp, const std::string& user, const std::string& message);
|
||||||
|
|
||||||
/** Create a chat message, assume the time is "now" */
|
|
||||||
chat_message(const std::string& user, const std::string& message);
|
|
||||||
|
|
||||||
time_t timestamp;
|
time_t timestamp;
|
||||||
std::string user;
|
std::string user;
|
||||||
std::string message;
|
std::string message;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user