Author: mordante
Date: Fri Sep 26 19:52:11 2008
New Revision: 29707

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29707&view=rev
Log:
Remove useless void.

Modified:
    trunk/src/server/forum_auth.cpp

Modified: trunk/src/server/forum_auth.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/forum_auth.cpp?rev=29707&r1=29706&r2=29707&view=diff
==============================================================================
--- trunk/src/server/forum_auth.cpp (original)
+++ trunk/src/server/forum_auth.cpp Fri Sep 26 19:52:11 2008
@@ -21,17 +21,17 @@
                std::string user_name;
                std::string user_password;
                bool authorised;
-               bool validate(void);
+               bool validate();
        public :
 // Constructor - sets the data and evaluates them                 
                forum_auth(std::string name, std::string password);
 // Destructor is empty
-               ~forum_auth(void);
+               ~forum_auth();
 // Function to return authorisation status
-               bool is_authorised(void);
+               bool is_authorised();
 };
 // Destructor
-forum_auth::~forum_auth(void)
+forum_auth::~forum_auth()
 {
 }
 // Constructor
@@ -42,7 +42,7 @@
        authorised = validate();
 }                                                                 
 // Validation function
-bool forum_auth::validate(void)
+bool forum_auth::validate()
 {
 // Set an alphabet-like string for use in encrytpion algorithm  
        std::string 
itoa64("./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");     
                                                               
@@ -138,7 +138,7 @@
        return true;
 }
 // Function returning status
-bool forum_auth::is_authorised(void)
+bool forum_auth::is_authorised()
 {
        return authorised;
 }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to