mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
use var passed by reference
Origin commit data
------------------
Commit: ddc9229efc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user