mail[Wesnoth-commits] r34006 - /trunk/src/editor2/editor_map.hpp


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

Header


Content

Posted by kailoran on March 22, 2009 - 00:23:
Author: ilor
Date: Sun Mar 22 00:23:13 2009
New Revision: 34006

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34006&view=rev
Log:
code correctness: add a missing &

Modified:
    trunk/src/editor2/editor_map.hpp

Modified: trunk/src/editor2/editor_map.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_map.hpp?rev=34006&r1=34005&r2=34006&view=diff
==============================================================================
--- trunk/src/editor2/editor_map.hpp (original)
+++ trunk/src/editor2/editor_map.hpp Sun Mar 22 00:23:13 2009
@@ -107,7 +107,7 @@
        /**
         * Return the selection set.
         */
-       const std::set<map_location> selection() const { return selection_; }
+       const std::set<map_location>& selection() const { return selection_; }
 
        /**
         * Clear the selection




Related Messages


Powered by MHonArc, Updated Sun Mar 22 00:40:37 2009