fixed_typemap.hpp: return reference

This commit is contained in:
Nekotekina 2021-03-02 14:59:19 +03:00
parent bbf52f3cea
commit ea5e837bd6
87 changed files with 3028 additions and 2997 deletions

View file

@ -183,7 +183,7 @@ kernel_explorer::kernel_explorer(QWidget* parent)
void kernel_explorer::Update()
{
const auto dct = g_fxo->get<lv2_memory_container>();
const auto dct = g_fxo->try_get<lv2_memory_container>();
if (!dct)
{
@ -606,7 +606,7 @@ void kernel_explorer::Update()
{
// Currently a single context is supported at a time
const auto rsx = rsx::get_current_renderer();
const auto context_info = g_fxo->get<lv2_rsx_config>();
const auto context_info = g_fxo->try_get<lv2_rsx_config>();
if (!rsx || !context_info)
{