mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Use const references whenever possible
This commit is contained in:
@@ -399,7 +399,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
void createHttpURLConnection(std::string url)
|
||||
void createHttpURLConnection(const std::string& url)
|
||||
{
|
||||
JniMethodInfo methodInfo;
|
||||
if (JniHelper::getStaticMethodInfo(methodInfo,
|
||||
|
||||
Reference in New Issue
Block a user