checkpoint

This commit is contained in:
Antonio SJ Musumeci 2022-05-16 23:54:48 -04:00
parent 202f29286b
commit c8e8865495
19 changed files with 76 additions and 80 deletions

View file

@ -25,13 +25,13 @@
namespace FUSE::SETXATTR
{
FuncBase::Ptr
FuncFactory(const toml::value &toml_)
factory(const toml::value &toml_)
{
std::string str;
str = toml::find_or(toml_,"func","setxattr","policy","all");
if(str == "all")
return std::make_shared<FuncALL>(toml_);
return std::make_shared<ALL>(toml_);
throw std::runtime_error("");
}