]> granicus.if.org Git - taglib/commitdiff
Add an empty default implementation of IOStream::clear()
authorLukáš Lalinský <lalinsky@gmail.com>
Thu, 9 Jun 2011 16:52:48 +0000 (18:52 +0200)
committerLukáš Lalinský <lalinsky@gmail.com>
Thu, 9 Jun 2011 16:52:48 +0000 (18:52 +0200)
taglib/toolkit/tiostream.cpp
taglib/toolkit/tiostream.h

index f76fe095040fcc4a0ecf212bc95b2f6857a1b6f8..e7b60dd75086083a5fc47aad9b85975446c18e27 100644 (file)
@@ -38,3 +38,8 @@ IOStream::IOStream()
 IOStream::~IOStream()
 {
 }
+
+void IOStream::clear()
+{
+}
+
index 8d7ba1059e4fe0fe315a3195544cf1aa2428a976..3e7de22aa5189b9419c81c79250101211d4129bc 100644 (file)
@@ -133,7 +133,7 @@ namespace TagLib {
     /*!
      * Reset the end-of-stream and error flags on the stream.
      */
-    virtual void clear() = 0;
+    virtual void clear();
 
     /*!
      * Returns the current offset within the stream.