mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Use COutputStream in CMapSaverJson
This commit is contained in:
		| @@ -11,6 +11,8 @@ | ||||
| #include "StdInc.h" | ||||
| #include "MapFormatJson.h" | ||||
|  | ||||
| #include "../filesystem/CInputStream.h" | ||||
| #include "../filesystem/COutputStream.h" | ||||
| #include "CMap.h" | ||||
| #include "../CModHandler.h" | ||||
| #include "../VCMI_Lib.h" | ||||
| @@ -182,8 +184,15 @@ void CMapLoaderJson::readPlayerInfo() | ||||
| } | ||||
|  | ||||
| ///CMapSaverJson | ||||
| void CMapSaverJson::saveMap(const std::unique_ptr<CMap>& map) | ||||
| CMapSaverJson::CMapSaverJson(COutputStream * stream): | ||||
| 	output(stream) | ||||
| { | ||||
| 	 | ||||
| } | ||||
|  | ||||
|  | ||||
| void CMapSaverJson::saveMap(const std::unique_ptr<CMap>& map) | ||||
| { | ||||
| 	assert(0); // Not implemented	 | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user