change category to enum class

This commit is contained in:
Antonio SJ Musumeci
2020-08-18 19:28:36 -04:00
parent 4c711159df
commit 6cc6524997
22 changed files with 144 additions and 263 deletions
+6 -6
View File
@@ -69,13 +69,13 @@ namespace ff
}
int
Policy::Func::ff(const Category::Enum::Type type,
const Branches &branches_,
const char *fusepath,
const uint64_t minfreespace,
vector<string> *paths)
Policy::Func::ff(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 ff::create(branches_,minfreespace,paths);
return Policy::Func::epff(type,branches_,fusepath,minfreespace,paths);