summaryrefslogtreecommitdiff
path: root/include/fud_result.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-25 11:25:25 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-25 11:25:25 -0500
commit255fa256b106506e0c951f704314c5c633217468 (patch)
treeacda2292f4ef315a64de763d4ee8e9a82f587a8c /include/fud_result.hpp
parent204dad55119df079ca54309bc4b740280fa54c31 (diff)
Further expansion of string api.
Diffstat (limited to 'include/fud_result.hpp')
-rw-r--r--include/fud_result.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_result.hpp b/include/fud_result.hpp
index 9c69800..e4e36cf 100644
--- a/include/fud_result.hpp
+++ b/include/fud_result.hpp
@@ -24,7 +24,7 @@
namespace fud {
template<typename T, typename E>
-class Result {
+class [[nodiscard]] Result {
public:
using ResultType = Result<T, E>;
static ResultType okay(const T& okay)