From 86a505b4f3c167f1df23106cead5839c324e551d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 May 2016 23:45:32 +0200 Subject: [PATCH] lib/xiph/OggSyncState: disallow copying --- src/lib/xiph/OggSyncState.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/xiph/OggSyncState.hxx b/src/lib/xiph/OggSyncState.hxx index 60379f8c6..4451a0130 100644 --- a/src/lib/xiph/OggSyncState.hxx +++ b/src/lib/xiph/OggSyncState.hxx @@ -45,6 +45,9 @@ public: ogg_sync_clear(&oy); } + OggSyncState(const OggSyncState &) = delete; + OggSyncState &operator=(const OggSyncState &) = delete; + void Reset() { ogg_sync_reset(&oy); }