Add default value for addFramingBit to XiphComment::render()

This commit is contained in:
Lukáš Lalinský 2012-11-04 09:46:50 +01:00
parent 8599c1bd38
commit 5b604f41be
2 changed files with 1 additions and 11 deletions

View File

@ -275,11 +275,6 @@ bool Ogg::XiphComment::contains(const String &key) const
return d->fieldListMap.contains(key) && !d->fieldListMap[key].isEmpty();
}
ByteVector Ogg::XiphComment::render() const
{
return render(true);
}
ByteVector Ogg::XiphComment::render(bool addFramingBit) const
{
ByteVector data;

View File

@ -191,11 +191,6 @@ namespace TagLib {
*/
bool contains(const String &key) const;
/*!
* Renders the comment to a ByteVector suitable for inserting into a file.
*/
ByteVector render() const; // BIC: remove and merge with below
/*!
* Renders the comment to a ByteVector suitable for inserting into a file.
*
@ -203,7 +198,7 @@ namespace TagLib {
* be appended. However some formats (notably FLAC) do not work with this
* in place.
*/
ByteVector render(bool addFramingBit) const;
ByteVector render(bool addFramingBit = true) const;
protected:
/*!