Skip to content

Commit

Permalink
more passed strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fiendish committed Mar 11, 2016
1 parent 8d74161 commit 65d59f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regexp.h
Expand Up @@ -74,7 +74,7 @@ class t_regexp
};

// returns a named wildcard
string GetWildcard (const string sName) const
string GetWildcard (const string& sName) const
{
int iNumber;
if (IsStringNumber (sName))
Expand Down
2 changes: 1 addition & 1 deletion stdafx.h
Expand Up @@ -682,7 +682,7 @@ inline string trim (const string & s, const string & t = SPACES)

// string find-and-replace
inline string FindAndReplace
(const string& source, const string target, const string replacement)
(const string& source, const string& target, const string& replacement)
{
string str = source;
string::size_type pos = 0, // where we are now
Expand Down

0 comments on commit 65d59f0

Please sign in to comment.