From 0ed2477dfadc80ea64b9d760e74ba3c9f8bace89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Thu, 9 Jun 2011 18:52:48 +0200 Subject: [PATCH] Add an empty default implementation of IOStream::clear() --- taglib/toolkit/tiostream.cpp | 5 +++++ taglib/toolkit/tiostream.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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.