mail[Wesnoth-commits] r40109 - in /trunk/src: lobby_data.cpp lobby_data.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by guillaume . melquiond on December 06, 2009 - 10:55:
Author: silene
Date: Sun Dec  6 10:55:56 2009
New Revision: 40109

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40109&view=rev
Log:
Removed unused constructor chat_message.

Modified:
    trunk/src/lobby_data.cpp
    trunk/src/lobby_data.hpp

Modified: trunk/src/lobby_data.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/lobby_data.cpp?rev=40109&r1=40108&r2=40109&view=diff
==============================================================================
--- trunk/src/lobby_data.cpp (original)
+++ trunk/src/lobby_data.cpp Sun Dec  6 10:55:56 2009
@@ -38,11 +38,6 @@
 
 chat_message::chat_message(const time_t& timestamp, const std::string& user, 
const std::string& message)
 : timestamp(timestamp), user(user), message(message)
-{
-}
-
-chat_message::chat_message(const std::string& user, const std::string& 
message)
-: timestamp(time(0)), user(user), message(message)
 {
 }
 

Modified: trunk/src/lobby_data.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/lobby_data.hpp?rev=40109&r1=40108&r2=40109&view=diff
==============================================================================
--- trunk/src/lobby_data.hpp (original)
+++ trunk/src/lobby_data.hpp Sun Dec  6 10:55:56 2009
@@ -28,9 +28,6 @@
 {
        /** 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;




Related Messages


Powered by MHonArc, Updated Sun Dec 06 11:00:10 2009