summaryrefslogtreecommitdiff
path: root/include/FLAC++
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-09-15 18:10:55 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-09-15 18:10:55 +1000
commit95552e11ba67cf60f5d0d13705d2d8c369ef3d0b (patch)
tree2c7e99f80f7b1a3fa910065a8079e7517c8b6215 /include/FLAC++
parent24a644718f7661ad8c4a9822fd273a44004b0322 (diff)
downloadflac-95552e11ba67cf60f5d0d13705d2d8c369ef3d0b.tar.gz
Fix numerous warnings arising from addition of -Weffc++.
Diffstat (limited to 'include/FLAC++')
-rw-r--r--include/FLAC++/metadata.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/FLAC++/metadata.h b/include/FLAC++/metadata.h
index d0c5c772..afa157e5 100644
--- a/include/FLAC++/metadata.h
+++ b/include/FLAC++/metadata.h
@@ -1090,6 +1090,10 @@ namespace FLAC {
protected:
::FLAC__Metadata_SimpleIterator *iterator_;
void clear();
+
+ private: // Do not use.
+ SimpleIterator(const SimpleIterator&);
+ SimpleIterator&operator=(const SimpleIterator&);
};
/* \} */
@@ -1174,6 +1178,10 @@ namespace FLAC {
protected:
::FLAC__Metadata_Chain *chain_;
virtual void clear();
+
+ private: // Do not use.
+ Chain(const Chain&);
+ Chain&operator=(const Chain&);
};
/** This class is a wrapper around the FLAC__metadata_iterator
@@ -1204,6 +1212,10 @@ namespace FLAC {
protected:
::FLAC__Metadata_Iterator *iterator_;
virtual void clear();
+
+ private: // Do not use.
+ Iterator(const Iterator&);
+ Iterator&operator=(const Iterator&);
};
/* \} */