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 --- frontend/GameData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/GameData.cpp') diff --git a/frontend/GameData.cpp b/frontend/GameData.cpp index 739ad1e..4556621 100644 --- a/frontend/GameData.cpp +++ b/frontend/GameData.cpp @@ -79,7 +79,7 @@ Object * GameData::create_object(const string & name) { if (!type_map.contains(type)) throw std::exception(); return ObjectFactory::create_object({ .name = name.c_str(), - .description = row.col(1), + .description = row.col(1, nullptr), .type = type_map.at(type), .min_value = row.col(2), .max_value = row.col(3), -- cgit v1.2.3