refactored result that an overload for void doesn't need to exist

This commit is contained in:
2026-07-30 12:33:24 +02:00
parent 78b30f9742
commit c880728093
7 changed files with 127 additions and 95 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ public:
if (!res.is_ok()) {
return std::nullopt;
}
return *res;
return res.value();
}
template<class Type>