From 2ea1ddf936238f9225e59a84b4c5d5d622707b22 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sun, 6 Dec 2009 09:55:56 +0000 Subject: [PATCH] Removed unused constructor chat_message. --- src/lobby_data.cpp | 5 ----- src/lobby_data.hpp | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/lobby_data.cpp b/src/lobby_data.cpp index 8b30b63be6e..9dede6449b3 100644 --- a/src/lobby_data.cpp +++ b/src/lobby_data.cpp @@ -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_() { diff --git a/src/lobby_data.hpp b/src/lobby_data.hpp index 9d8e168c670..a5418b1fe53 100644 --- a/src/lobby_data.hpp +++ b/src/lobby_data.hpp @@ -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;