refactored result that an overload for void doesn't need to exist
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
if (!res.is_ok()) {
|
||||
return std::nullopt;
|
||||
}
|
||||
return *res;
|
||||
return res.value();
|
||||
}
|
||||
|
||||
template<class Type>
|
||||
|
||||
Reference in New Issue
Block a user