Author: ilor
Date: Thu Aug 21 11:37:13 2008
New Revision: 28821
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28821&view=rev
Log:
rm dead code
Modified:
trunk/src/editor2/mouse_action.cpp
Modified: trunk/src/editor2/mouse_action.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/mouse_action.cpp?rev=28821&r1=28820&r2=28821&view=diff
==============================================================================
--- trunk/src/editor2/mouse_action.cpp (original)
+++ trunk/src/editor2/mouse_action.cpp Thu Aug 21 11:37:13 2008
@@ -24,31 +24,6 @@
#include "../pathutils.hpp"
namespace editor2 {
-
-class A
-{
- void doA(int);
- void doStuffThenA(int);
- template<void (A::*foo)(int)>
- void doStuffThenFoo(int);
-};
-
-void A::doA(int)
-{
-}
-
-void A::doStuffThenA(int a)
-{
- doStuffThenFoo<&A::doA>(a);
-}
-
-template<void (A::*foo)(int)>
-void A::doStuffThenFoo(int a)
-{
- //doStuff
- (this->*foo)(a);
-}
-
void mouse_action::move(editor_display& disp, const gamemap::location& hex)
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits