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
|
|
@ -110,13 +110,13 @@ namespace msplus
|
|||
}
|
||||
|
||||
int
|
||||
Policy::Func::msplus(const Category::Enum::Type type_,
|
||||
const Branches &branches_,
|
||||
const char *fusepath_,
|
||||
const uint64_t minfreespace_,
|
||||
vector<string> *paths_)
|
||||
Policy::Func::msplus(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 msplus::create(branches_,fusepath_,minfreespace_,paths_);
|
||||
|
||||
return Policy::Func::eplus(type_,branches_,fusepath_,minfreespace_,paths_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue