From 790def86183c821eafc66ca2f8ab27ff71652871 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 7 Aug 2024 14:24:39 +0200 Subject: [PATCH] Update JSIConverter+Variant.hpp --- .../cpp/jsi/JSIConverter+Variant.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/react-native-nitro-modules/cpp/jsi/JSIConverter+Variant.hpp b/packages/react-native-nitro-modules/cpp/jsi/JSIConverter+Variant.hpp index 5acba4975..bb41cfbb9 100644 --- a/packages/react-native-nitro-modules/cpp/jsi/JSIConverter+Variant.hpp +++ b/packages/react-native-nitro-modules/cpp/jsi/JSIConverter+Variant.hpp @@ -51,11 +51,6 @@ struct JSIConverter> { } private: - static inline std::runtime_error typeNotSupportedError(const std::string& type) { - std::string types = TypeInfo::getFriendlyTypenames(); - return std::runtime_error(type + " is not supported in variant<" + types + ">!"); - } - template static inline std::variant fromJSIRecursive(jsi::Runtime& runtime, const jsi::Value& value) { if (JSIConverter::canConvert(runtime, value)) {