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:
Eric Lewis
2019-02-20 17:29:35 -08:00
committed by Facebook Github Bot
parent 45288a0f63
commit b0c69aba1d
+1 -1
View File
@@ -83,7 +83,7 @@ public:
bridge_.bridgeDescription =
[NSString stringWithFormat:@"RCTCxxBridge %s",
ret->getDescription().c_str()];
return std::move(ret);
return ret;
}
private: