use var passed by reference

Conflicts:
	src/gui/components/cc_frm.h
	src/gui/components/cc_frm_icons.cpp
This commit is contained in:
Jacek Jendrzej
2013-04-18 19:19:30 +02:00
committed by [CST] Focus
parent e2bbf2aa44
commit b386f7bbd2
10 changed files with 34 additions and 34 deletions

View File

@@ -614,7 +614,7 @@ int find_next_char(char to_find, char *text, int start_pos, int end_pos)
}
//void CMovieInfo::strReplace(std::string& orig, const char* fstr, const std::string rstr)
void strReplace(std::string & orig, const char *fstr, const std::string rstr)
void strReplace(std::string & orig, const char *fstr, const std::string &rstr)
{
// replace all occurrence of fstr with rstr and, and returns a reference to itself
size_t index = 0;