mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-16 21:50:42 +08:00
Remove dynamic exception specification in RN MethodCall.h/cpp
Summary: Dynamic exception specifications are removed in C++17. Reviewed By: mhorowitz Differential Revision: D13078933 fbshipit-source-id: b1a1d7aed3f634c6bc699ab05a8c218bdddf5993
This commit is contained in:
committed by
Facebook Github Bot
parent
06c13b3e06
commit
5b71408b89
@@ -18,7 +18,7 @@ namespace react {
|
||||
|
||||
static const char *errorPrefix = "Malformed calls from JS: ";
|
||||
|
||||
std::vector<MethodCall> parseMethodCalls(folly::dynamic&& jsonData) throw(std::invalid_argument) {
|
||||
std::vector<MethodCall> parseMethodCalls(folly::dynamic&& jsonData) {
|
||||
if (jsonData.isNull()) {
|
||||
return {};
|
||||
}
|
||||
@@ -77,4 +77,3 @@ std::vector<MethodCall> parseMethodCalls(folly::dynamic&& jsonData) throw(std::i
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user