From 3eed6f633605c308547c73ddd232c0081842247a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 May 2023 04:38:06 +0200 Subject: a --- editor/vobj-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/vobj-editor.cpp') diff --git a/editor/vobj-editor.cpp b/editor/vobj-editor.cpp index 82b36204..1c1f1cb3 100644 --- a/editor/vobj-editor.cpp +++ b/editor/vobj-editor.cpp @@ -23,7 +23,7 @@ vobj_editor::vobj_::operator bool() const { return factory != nullptr; } vobj_editor::vobj_editor() = default; void vobj_editor::select_tile(const vobj_& type) { _selected = &type; } -auto vobj_editor::get_type(StringView name) -> const vobj_& +auto vobj_editor::get_type(StringView name) -> const vobj_* { auto it = _types.find(name); if (it != _types.cend()) -- cgit v1.2.3