diff --git a/taglib/ogg/xiphcomment.cpp b/taglib/ogg/xiphcomment.cpp index 675614b3..0f0af75c 100644 --- a/taglib/ogg/xiphcomment.cpp +++ b/taglib/ogg/xiphcomment.cpp @@ -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; diff --git a/taglib/ogg/xiphcomment.h b/taglib/ogg/xiphcomment.h index 54f3070b..476e9833 100644 --- a/taglib/ogg/xiphcomment.h +++ b/taglib/ogg/xiphcomment.h @@ -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: /*!