diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 19:59:38 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 19:59:38 +0100 |
commit | 6e1d62955c7a7f39bc9126d709a42a70e02a1d30 (patch) | |
tree | c2505409c68d554b1e776cdb0c8104af54d375bf /backend/ObjectFactory.cpp | |
parent | c1d43cddee94dd370078f755d33147c9a8181852 (diff) |
create backend string class
Diffstat (limited to 'backend/ObjectFactory.cpp')
-rw-r--r-- | backend/ObjectFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ObjectFactory.cpp b/backend/ObjectFactory.cpp index d8e1c21..a3a6d83 100644 --- a/backend/ObjectFactory.cpp +++ b/backend/ObjectFactory.cpp @@ -34,7 +34,7 @@ Object * ObjectFactory::create_object(const UniversalObject & data) { return ObjectFactory::create_object(data.name, data.description); } -Object * ObjectFactory::create_object(const char * name, const char * description) { +Object * ObjectFactory::create_object(const String & name, const String & description) { return new Object(name, description); } |