cleanup function signatures and definitions

This commit is contained in:
Antonio SJ Musumeci 2020-08-16 18:22:25 -04:00
parent 6cc6524997
commit ec15872a1f
112 changed files with 743 additions and 820 deletions

View file

@ -91,8 +91,8 @@ parse(const string &str_,
else
branch.mode = Branch::RW;
fs::glob(str,globbed);
fs::realpathize(globbed);
fs::glob(str,&globbed);
fs::realpathize(&globbed);
for(size_t i = 0; i < globbed.size(); i++)
{
branch.path = globbed[i];
@ -109,7 +109,7 @@ set(Branches &branches_,
branches_.clear();
str::split(paths,str_,':');
str::split(str_,':',&paths);
for(size_t i = 0; i < paths.size(); i++)
{
@ -130,7 +130,7 @@ add_begin(Branches &branches_,
{
vector<string> paths;
str::split(paths,str_,':');
str::split(str_,':',&paths);
for(size_t i = 0; i < paths.size(); i++)
{
@ -151,7 +151,7 @@ add_end(Branches &branches_,
{
vector<string> paths;
str::split(paths,str_,':');
str::split(str_,':',&paths);
for(size_t i = 0; i < paths.size(); i++)
{
@ -186,7 +186,7 @@ erase_fnmatch(Branches &branches_,
{
vector<string> patterns;
str::split(patterns,str_,':');
str::split(str_,':',&patterns);
for(Branches::iterator i = branches_.begin();
i != branches_.end();)