mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
lib now uses shared_ptr for entities. Removed manual memory management.
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
class DLL_LINKAGE TerrainTypeHandler : public CHandlerBase<TerrainId, TerrainType, TerrainType, TerrainTypeService>
|
||||
{
|
||||
public:
|
||||
virtual TerrainType * loadFromJson(
|
||||
std::shared_ptr<TerrainType> loadFromJson(
|
||||
const std::string & scope,
|
||||
const JsonNode & json,
|
||||
const std::string & identifier,
|
||||
|
||||
Reference in New Issue
Block a user