diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2011-06-09 18:52:48 +0200 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2011-06-09 18:52:48 +0200 |
commit | 0ed2477dfadc80ea64b9d760e74ba3c9f8bace89 (patch) | |
tree | 9f2fe904e5b306a90a46a87ae3fd3211de1a8a2f | |
parent | e92ed0a8302451fd47ff8b3e9b4df485e197685e (diff) |
Add an empty default implementation of IOStream::clear()
-rw-r--r-- | taglib/toolkit/tiostream.cpp | 5 | ||||
-rw-r--r-- | taglib/toolkit/tiostream.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/taglib/toolkit/tiostream.cpp b/taglib/toolkit/tiostream.cpp index f76fe095..e7b60dd7 100644 --- a/taglib/toolkit/tiostream.cpp +++ b/taglib/toolkit/tiostream.cpp @@ -38,3 +38,8 @@ IOStream::IOStream() IOStream::~IOStream() { } + +void IOStream::clear() +{ +} + diff --git a/taglib/toolkit/tiostream.h b/taglib/toolkit/tiostream.h index 8d7ba105..3e7de22a 100644 --- a/taglib/toolkit/tiostream.h +++ b/taglib/toolkit/tiostream.h @@ -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. |