summaryrefslogtreecommitdiff
path: root/include/fud_drain.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-03-30 23:08:43 -0500
committerDominick Allen <djallen@librehumanitas.org>2025-03-30 23:08:43 -0500
commitcb9fa588ba8144fcdd52ba4b83d69d93fb18066f (patch)
tree214574ca68c1551ec76e7fbb9e0263793180231d /include/fud_drain.hpp
parent1d357adfa19725ee69fb267a363f1fd217b1272f (diff)
Add hash map.
Diffstat (limited to 'include/fud_drain.hpp')
-rw-r--r--include/fud_drain.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_drain.hpp b/include/fud_drain.hpp
index 13c878a..eb1c1e7 100644
--- a/include/fud_drain.hpp
+++ b/include/fud_drain.hpp
@@ -28,7 +28,7 @@ namespace fud {
struct DrainResult {
size_t bytesDrained;
FudStatus status;
- [[nodiscard]] constexpr bool isOkay()
+ [[nodiscard]] constexpr bool isOkay() const
{
return status == FudStatus::Success;
}