mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 09:45:42 +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()
|
||||
: history_()
|
||||
{
|
||||
|
@ -29,9 +29,6 @@ struct chat_message
|
||||
/** Create a chat 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;
|
||||
std::string user;
|
||||
std::string message;
|
||||
|
Loading…
x
Reference in New Issue
Block a user