summaryrefslogtreecommitdiffhomepage
path: root/editor/vobj-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/vobj-editor.cpp')
-rw-r--r--editor/vobj-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/vobj-editor.cpp b/editor/vobj-editor.cpp
index 0cfa64d6..f644ca1c 100644
--- a/editor/vobj-editor.cpp
+++ b/editor/vobj-editor.cpp
@@ -98,7 +98,7 @@ auto vobj_editor::make_vobj_type_map() -> std::map<String, vobj_>
{
constexpr auto add = [](auto& m, std::unique_ptr<vobj_factory>&& x) {
StringView name = x->name(), descr = x->descr();
- m[name] = vobj_editor::vobj_{ name, descr, std::move(x) };
+ m[name] = vobj_editor::vobj_{ name, descr, move(x) };
};
std::map<String, vobj_> map;
add(map, std::make_unique<light_factory>());