Removed unused constructor chat_message.

This commit is contained in:
Guillaume Melquiond 2009-12-06 09:55:56 +00:00
parent 7f91fb9e41
commit 2ea1ddf936
2 changed files with 0 additions and 8 deletions

View File

@ -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_()
{

View File

@ -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;