lv2_obj::create: fix pessimizing move

Could have been preventing copy elision.
This commit is contained in:
Nekotekina 2021-05-12 18:44:35 +03:00
parent 5b6537674f
commit 8ae727ca04

View File

@ -282,7 +282,7 @@ public:
return finalize_construct();
}
return std::move(result);
return result;
}))
{
return error;