Author: mordante
Date: Fri Sep 26 19:52:07 2008
New Revision: 29706
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29706&view=rev
Log:
Remove useless void.
Modified:
trunk/src/preferences.cpp
Modified: trunk/src/preferences.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/preferences.cpp?rev=29706&r1=29705&r2=29706&view=diff
==============================================================================
--- trunk/src/preferences.cpp (original)
+++ trunk/src/preferences.cpp Fri Sep 26 19:52:07 2008
@@ -488,17 +488,17 @@
prefs["editor_b"] = lexical_cast<std::string>(value);
}
-int editor_r(void)
+int editor_r()
{
return lexical_cast_in_range<int>(get("editor_r"), 0, -255, 255);
}
-int editor_g(void)
+int editor_g()
{
return lexical_cast_in_range<int>(get("editor_g"), 0, -255, 255);
}
-int editor_b(void)
+int editor_b()
{
return lexical_cast_in_range<int>(get("editor_b"), 0, -255, 255);
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits