mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 15:06:33 -05:00
config_passthrough.cpp
This commit is contained in:
parent
b48509e767
commit
016b980199
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,9 @@ template<>
|
|||
int
|
||||
Passthrough::from_string(const std::string &s_)
|
||||
{
|
||||
auto x = PassthroughEnum::_from_string_nothrow(s_.c_str());
|
||||
better_enums::optional<PassthroughEnum> e;
|
||||
|
||||
e = PassthroughEnum::_from_string_nothrow(s_.c_str());
|
||||
|
||||
if(!x)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue