From 1ad55823914d4a22dabcd70988f843608b69366c Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Mon, 26 Jul 2004 13:44:59 +0000 Subject: [PATCH] missing const git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332913 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- mpeg/id3v2/id3v2tag.cpp | 2 +- mpeg/id3v2/id3v2tag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mpeg/id3v2/id3v2tag.cpp b/mpeg/id3v2/id3v2tag.cpp index 046db563..7324a3f9 100644 --- a/mpeg/id3v2/id3v2tag.cpp +++ b/mpeg/id3v2/id3v2tag.cpp @@ -295,7 +295,7 @@ const FrameList &ID3v2::Tag::frameList() const return d->frameList; } -const FrameList &ID3v2::Tag::frameList(const ByteVector &frameID) +const FrameList &ID3v2::Tag::frameList(const ByteVector &frameID) const { return d->frameListMap[frameID]; } diff --git a/mpeg/id3v2/id3v2tag.h b/mpeg/id3v2/id3v2tag.h index 7308e117..5606c9d9 100644 --- a/mpeg/id3v2/id3v2tag.h +++ b/mpeg/id3v2/id3v2tag.h @@ -227,7 +227,7 @@ namespace TagLib { * * \see frameListMap() */ - const FrameList &frameList(const ByteVector &frameID); + const FrameList &frameList(const ByteVector &frameID) const; /*! * Add a frame to the tag. At this point the tag takes ownership of