mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Allow compiler optimization (#23536)
Summary: Fixes a warning thrown by Xcode & allow RVO to be performed. [iOS] [Fixed] - Fix Xcode warnings Pull Request resolved: https://github.com/facebook/react-native/pull/23536 Reviewed By: JoshuaGross Differential Revision: D14142973 Pulled By: hramos fbshipit-source-id: e23050aed811127a3b4f73aa8a74472e4cc8e98c
This commit is contained in:
committed by
Facebook Github Bot
parent
45288a0f63
commit
b0c69aba1d
@@ -83,7 +83,7 @@ public:
|
||||
bridge_.bridgeDescription =
|
||||
[NSString stringWithFormat:@"RCTCxxBridge %s",
|
||||
ret->getDescription().c_str()];
|
||||
return std::move(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user