diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-08-12 12:28:02 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-08-17 11:32:01 +0200 |
commit | 53e7b7e8ac44704199a868c0f6850ac53a0b8ad1 (patch) | |
tree | 3da13593f7acc9c9be7c26d24d41413fbcd75f8e /src/libutil/serialise.hh | |
parent | c3769c68465bae971ab6bb48cfcdea85b61ea83a (diff) |
Remove warnLargeDump()
This message was unhelpful (#1184) and probably misleading since
memory is O(1) in most cases now.
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r-- | src/libutil/serialise.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 13da26c6a..84847835a 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -97,19 +97,17 @@ protected: struct FdSink : BufferedSink { int fd; - bool warn = false; size_t written = 0; FdSink() : fd(-1) { } FdSink(int fd) : fd(fd) { } FdSink(FdSink&&) = default; - FdSink& operator=(FdSink && s) + FdSink & operator=(FdSink && s) { flush(); fd = s.fd; s.fd = -1; - warn = s.warn; written = s.written; return *this; } |