From: Lukáš Lalinský Date: Thu, 9 Jun 2011 16:52:48 +0000 (+0200) Subject: Add an empty default implementation of IOStream::clear() X-Git-Tag: v1.8beta~109^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ed2477dfadc80ea64b9d760e74ba3c9f8bace89;p=taglib Add an empty default implementation of IOStream::clear() --- 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.