mail[Wesnoth-commits] r43115 - /branches/1.8/src/map.hpp


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

Header


Content

Posted by shadowm2006 on June 02, 2010 - 03:58:
Author: shadowmaster
Date: Wed Jun  2 03:58:17 2010
New Revision: 43115

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43115&view=rev
Log:
Remove an unused exception class and update a comment

(Backported from trunk, r43113.)

Modified:
    branches/1.8/src/map.hpp

Modified: branches/1.8/src/map.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.8/src/map.hpp?rev=43115&r1=43114&r2=43115&view=diff
==============================================================================
--- branches/1.8/src/map.hpp (original)
+++ branches/1.8/src/map.hpp Wed Jun  2 03:58:17 2010
@@ -50,12 +50,6 @@
         * Get a formatted terrain name -- terrain (underlying, terrains)
         */
        std::string get_terrain_string(const t_translation::t_terrain& 
terrain) const;
-
-       /** Throws exception if the map file is not in the correct format. */
-       struct incorrect_format_exception {
-               incorrect_format_exception(const char* msg) : msg_(msg) {}
-               const char* const msg_;
-       };
 
        const t_translation::t_list& underlying_mvt_terrain(const 
map_location& loc) const
                { return underlying_mvt_terrain(get_terrain(loc)); }
@@ -109,7 +103,7 @@
         * @param cfg the game config.
         * @param data the map data to load.
         */
-       gamemap(const config &cfg, const std::string &data); 
//throw(incorrect_format_exception)
+       gamemap(const config &cfg, const std::string &data); 
//throw(incorrect_map_format_exception)
 
        virtual ~gamemap();
 




Related Messages


Powered by MHonArc, Updated Wed Jun 02 04:00:18 2010