Fix numerous warnings arising from addition of -Weffc++.

This commit is contained in:
Erik de Castro Lopo
2013-09-15 18:10:55 +10:00
parent 24a644718f
commit 95552e11ba
5 changed files with 64 additions and 6 deletions

View File

@@ -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&);
};
/* \} */