From 2825a2d94829e5117c9acd1ee496b95f5f401977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 17 Nov 2021 16:54:52 +0100 Subject: [PATCH] Fixed issue introduced during rebase --- src/hermes/hermes_return_value.hpp | 4 +--- src/js_dictionary.hpp | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hermes/hermes_return_value.hpp b/src/hermes/hermes_return_value.hpp index fc094dad827..324229bb143 100644 --- a/src/hermes/hermes_return_value.hpp +++ b/src/hermes/hermes_return_value.hpp @@ -18,8 +18,6 @@ #pragma once -#include "js_mixed.hpp" - #include "hermes_types.hpp" #include "hermes_string.hpp" @@ -74,7 +72,7 @@ template<> } void set(realm::Mixed mixed) { - m_value = jsi::Value(m_env, TypeMixed::get_instance().wrap(m_env, mixed)); + m_value = Value::from_mixed(m_env, nullptr, mixed).get(); } void set_null() { diff --git a/src/js_dictionary.hpp b/src/js_dictionary.hpp index 185af43608a..3395e3b2e3c 100644 --- a/src/js_dictionary.hpp +++ b/src/js_dictionary.hpp @@ -25,7 +25,6 @@ #include "js_results.hpp" #include "js_types.hpp" #include "js_util.hpp" -#include "js_mixed.hpp" #include #include