Author: tschmitz
Date: Tue Aug 2 12:12:09 2011
New Revision: 50551
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50551&view=rev
Log:
Made arrow noncopyable because it's an RAII object now.
Constructor adds it to the screen, destructor removes it.
Modified:
trunk/src/arrow.hpp
Modified: trunk/src/arrow.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/arrow.hpp?rev=50551&r1=50550&r2=50551&view=diff
==============================================================================
--- trunk/src/arrow.hpp (original)
+++ trunk/src/arrow.hpp Tue Aug 2 12:12:09 2011
@@ -28,7 +28,7 @@
/**
* Arrows destined to be drawn on the map. Created for the whiteboard system.
*/
-class arrow {
+class arrow : private boost::noncopyable {
public:
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits