diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-18 04:38:06 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-18 04:38:06 +0200 |
| commit | 3eed6f633605c308547c73ddd232c0081842247a (patch) | |
| tree | c4c8d886f94f7e6bc1fc194365df9b1c708f3272 /editor/vobj-editor.cpp | |
| parent | 1d0a3cb3c1cfab132e7c1acd5702705f2ca1f36d (diff) | |
a
Diffstat (limited to 'editor/vobj-editor.cpp')
| -rw-r--r-- | editor/vobj-editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |
