From a09e33a609540f17a202e9b09ce2380ab055bb33 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 10 Aug 2021 14:24:04 +0200 Subject: [PATCH] fixed copy and move constructors of the PassthroughBuffer (fixes #418) --- src/passthroughbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/passthroughbuffer.h b/src/passthroughbuffer.h index 4126eca..dee79a6 100644 --- a/src/passthroughbuffer.h +++ b/src/passthroughbuffer.h @@ -108,13 +108,13 @@ public: * No copying, because that would be too expensive * @param that */ - PassthroughBuffer(const CopiedBuffer &that) = delete; + PassthroughBuffer(const PassthroughBuffer &that) = delete; /** * Moving is also not necessary * @param that */ - PassthroughBuffer(CopiedBuffer &&that) = delete; + PassthroughBuffer(PassthroughBuffer &&that) = delete; /** * Destructor