mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
lib now uses shared_ptr for entities. Removed manual memory management.
This commit is contained in:
@ -51,7 +51,7 @@ public:
|
||||
class DLL_LINKAGE RoadTypeHandler : public CHandlerBase<RoadId, RoadType, RoadType, RoadTypeService>
|
||||
{
|
||||
public:
|
||||
virtual RoadType * loadFromJson(
|
||||
std::shared_ptr<RoadType> loadFromJson(
|
||||
const std::string & scope,
|
||||
const JsonNode & json,
|
||||
const std::string & identifier,
|
||||
|
Reference in New Issue
Block a user