From 6e1d62955c7a7f39bc9126d709a42a70e02a1d30 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 30 Oct 2024 19:59:38 +0100 Subject: create backend string class --- backend/ObjectFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/ObjectFactory.cpp') 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); } -- cgit v1.2.3