change category to enum class

This commit is contained in:
Antonio SJ Musumeci 2020-08-16 13:30:43 -04:00
parent 4c711159df
commit 6cc6524997
22 changed files with 144 additions and 263 deletions

View file

@ -69,13 +69,13 @@ namespace all
}
int
Policy::Func::all(const Category::Enum::Type type_,
const Branches &branches_,
const char *fusepath_,
const uint64_t minfreespace_,
vector<string> *paths_)
Policy::Func::all(const Category type_,
const Branches &branches_,
const char *fusepath_,
const uint64_t minfreespace_,
vector<string> *paths_)
{
if(type_ == Category::Enum::create)
if(type_ == Category::CREATE)
return all::create(branches_,minfreespace_,paths_);
return Policy::Func::epall(type_,branches_,fusepath_,minfreespace_,paths_);