mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Don't use const ref to an integer in ChapterFrame
This commit is contained in:
parent
71bc17b5e6
commit
0178d47c85
@ -65,8 +65,8 @@ ChapterFrame::ChapterFrame(const ID3v2::Header *tagHeader, const ByteVector &dat
|
||||
}
|
||||
|
||||
ChapterFrame::ChapterFrame(const ByteVector &elementID,
|
||||
const TagLib::uint &startTime, const TagLib::uint &endTime,
|
||||
const TagLib::uint &startOffset, const TagLib::uint &endOffset,
|
||||
TagLib::uint startTime, TagLib::uint endTime,
|
||||
TagLib::uint startOffset, TagLib::uint endOffset,
|
||||
const FrameList &embeddedFrames) :
|
||||
ID3v2::Frame("CHAP")
|
||||
{
|
||||
|
@ -61,10 +61,9 @@ namespace TagLib {
|
||||
*
|
||||
* All times are in milliseconds.
|
||||
*/
|
||||
// BIC: There's no reason to use const-references with uints
|
||||
ChapterFrame(const ByteVector &elementID,
|
||||
const uint &startTime, const uint &endTime,
|
||||
const uint &startOffset, const uint &endOffset,
|
||||
uint startTime, uint endTime,
|
||||
uint startOffset, uint endOffset,
|
||||
const FrameList &embeddedFrames = FrameList());
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user