Skip to content

Commit

Permalink
Fixed issue introduced during rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Nov 19, 2021
1 parent 93a2462 commit 611d440
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/hermes/hermes_return_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#pragma once

#include "js_mixed.hpp"

#include "hermes_types.hpp"
#include "hermes_string.hpp"

Expand Down Expand Up @@ -74,7 +72,7 @@ template<>
}

void set(realm::Mixed mixed) {
m_value = jsi::Value(m_env, TypeMixed<hermes::Types>::get_instance().wrap(m_env, mixed));
m_value = Value<hermes::Types>::from_mixed(m_env, nullptr, mixed).get();
}

void set_null() {
Expand Down
1 change: 0 additions & 1 deletion src/js_dictionary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "js_results.hpp"
#include "js_types.hpp"
#include "js_util.hpp"
#include "js_mixed.hpp"

#include <realm/object-store/shared_realm.hpp>
#include <realm/object-store/dictionary.hpp>
Expand Down

0 comments on commit 611d440

Please sign in to comment.