use references to srcmounts rather than copies

This commit is contained in:
Antonio SJ Musumeci 2016-01-29 16:54:39 -05:00
parent f7c37d2974
commit 6086620e23
49 changed files with 1050 additions and 717 deletions

View file

@ -28,7 +28,7 @@ namespace str
{
void
split(vector<string> &result,
const string &str,
const char *str,
const char delimiter)
{
string part;
@ -38,6 +38,14 @@ namespace str
result.push_back(part);
}
void
split(vector<string> &result,
const string &str,
const char delimiter)
{
return split(result,str.c_str(),delimiter);
}
string
join(const vector<string> &vec,
const size_t substridx,