mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark params as unused (#46426)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46426 ## Changelog: [Internal] - Comment out unused params Reviewed By: rshest Differential Revision: D62448755 fbshipit-source-id: da647197994b982f924b2c1330a2b529e48d7ad8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ef0ea4d834
commit
a05f9c6771
@@ -158,12 +158,12 @@ auto convert(jsi::Runtime& rt, std::optional<T> value) {
|
||||
}
|
||||
|
||||
template <typename T, std::enable_if_t<std::is_scalar_v<T>, int> = 0>
|
||||
auto convert(jsi::Runtime& rt, T&& value) {
|
||||
auto convert(jsi::Runtime& /*rt*/, T&& value) {
|
||||
return value;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
auto convert(jsi::Runtime& rt, Converter<T>&& converter) {
|
||||
auto convert(jsi::Runtime& /*rt*/, Converter<T>&& converter) {
|
||||
return std::move(converter);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user