mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
change category to enum class
This commit is contained in:
parent
4c711159df
commit
6cc6524997
22 changed files with 144 additions and 263 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue