mirror of
https://github.com/taglib/taglib.git
synced 2026-02-12 19:23:02 -05:00
Fixing compiler warning about missing virtual destructor in class with virtual methods
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@706328 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -53,6 +53,10 @@ const ID3v1::StringHandler *ID3v1::Tag::TagPrivate::stringHandler = new StringHa
|
||||
// StringHandler implementation
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ID3v1::StringHandler::~StringHandler()
|
||||
{
|
||||
}
|
||||
|
||||
String ID3v1::StringHandler::parse(const ByteVector &data) const
|
||||
{
|
||||
return String(data, String::Latin1).stripWhiteSpace();
|
||||
|
||||
@ -56,6 +56,10 @@ namespace TagLib {
|
||||
class StringHandler
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* Destroys this StringHandler instance.
|
||||
*/
|
||||
virtual ~StringHandler();
|
||||
/*!
|
||||
* Decode a string from \a data. The default implementation assumes that
|
||||
* \a data is an ISO-8859-1 (Latin1) character array.
|
||||
|
||||
Reference in New Issue
Block a user