Use const references whenever possible

This commit is contained in:
Wenhai Lin
2016-05-18 14:26:43 +08:00
parent 94c6dcdf6a
commit 5dcd5ed979
33 changed files with 72 additions and 72 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ public:
}
private:
void createHttpURLConnection(std::string url)
void createHttpURLConnection(const std::string& url)
{
JniMethodInfo methodInfo;
if (JniHelper::getStaticMethodInfo(methodInfo,