summaryrefslogtreecommitdiff
path: root/include/fud_drain.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-11-10 15:14:54 -0600
committerDominick Allen <djallen@librehumanitas.org>2024-11-10 15:14:54 -0600
commit012df4bc38777c9053353ec2c4213bba67d63ab4 (patch)
tree4267c0cd4a7ed61119a44b31f0fc8b8adff2b4cf /include/fud_drain.hpp
parent1e89700693e92bb9c78ace739c71431b74d91e22 (diff)
Buffered file IO.
Diffstat (limited to 'include/fud_drain.hpp')
-rw-r--r--include/fud_drain.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fud_drain.hpp b/include/fud_drain.hpp
index d630bc7..13c878a 100644
--- a/include/fud_drain.hpp
+++ b/include/fud_drain.hpp
@@ -32,6 +32,8 @@ struct DrainResult {
{
return status == FudStatus::Success;
}
+
+ constexpr bool operator==(const DrainResult&) const noexcept = default;
};
template <typename Sink, typename Source>