fixed copy and move constructors of the PassthroughBuffer (fixes #418)

This commit is contained in:
Emiel Bruijntjes 2021-08-10 14:24:04 +02:00
parent 1dc169810d
commit a09e33a609
1 changed files with 2 additions and 2 deletions

View File

@ -108,13 +108,13 @@ public:
* No copying, because that would be too expensive * No copying, because that would be too expensive
* @param that * @param that
*/ */
PassthroughBuffer(const CopiedBuffer &that) = delete; PassthroughBuffer(const PassthroughBuffer &that) = delete;
/** /**
* Moving is also not necessary * Moving is also not necessary
* @param that * @param that
*/ */
PassthroughBuffer(CopiedBuffer &&that) = delete; PassthroughBuffer(PassthroughBuffer &&that) = delete;
/** /**
* Destructor * Destructor