summaryrefslogtreecommitdiff
path: root/include/fud_result.hpp
diff options
context:
space:
mode:
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)