mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Add "override" to virtual overriden methods
This commit is contained in:
		| @@ -50,14 +50,14 @@ public: | ||||
| 	 * | ||||
| 	 * @return a unique ptr of the loaded map class | ||||
| 	 */ | ||||
| 	std::unique_ptr<CMap> loadMap(); | ||||
| 	std::unique_ptr<CMap> loadMap() override; | ||||
|  | ||||
| 	/** | ||||
| 	 * Loads the VCMI/H3 map header. | ||||
| 	 * | ||||
| 	 * @return a unique ptr of the loaded map header class | ||||
| 	 */ | ||||
| 	std::unique_ptr<CMapHeader> loadMapHeader(); | ||||
| 	std::unique_ptr<CMapHeader> loadMapHeader() override; | ||||
|  | ||||
| 	/** true if you want to enable the map loader profiler to see how long a specific part took; default=false */ | ||||
| 	static const bool IS_PROFILING_ENABLED; | ||||
|   | ||||
| @@ -31,20 +31,20 @@ public: | ||||
| 	 * | ||||
| 	 * @return a unique ptr of the loaded map class | ||||
| 	 */ | ||||
| 	std::unique_ptr<CMap> loadMap(); | ||||
| 	std::unique_ptr<CMap> loadMap() override; | ||||
|  | ||||
| 	/** | ||||
| 	 * Loads the VCMI/Json map header. | ||||
| 	 * | ||||
| 	 * @return a unique ptr of the loaded map header class | ||||
| 	 */ | ||||
| 	std::unique_ptr<CMapHeader> loadMapHeader(); | ||||
| 	std::unique_ptr<CMapHeader> loadMapHeader() override; | ||||
|  | ||||
| 	/** | ||||
| 	 * Modifies supplied map header using Json data | ||||
| 	 * | ||||
| 	 */ | ||||
| 	void patchMapHeader(std::unique_ptr<CMapHeader> & header); | ||||
| 	void patchMapHeader(std::unique_ptr<CMapHeader> & header) override; | ||||
|  | ||||
| private: | ||||
| 	/** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user