Commit a6e9428a by maxvujovic@gmail.com

Avoid storing references to temporary strings in RenameFunction

Issue=360 Review URL: https://codereview.appspot.com/6483045/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1266 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 0806cb27
......@@ -29,8 +29,8 @@ public:
}
private:
const TString& mOldFunctionName;
const TString& mNewFunctionName;
const TString mOldFunctionName;
const TString mNewFunctionName;
};
#endif // COMPILER_RENAME_FUNCTION
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment