mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
tpicture: use accessors by values instead of const ref
This commit is contained in:
parent
9e95156319
commit
612c84731c
@ -63,17 +63,17 @@ Picture::Picture(const Picture &p)
|
||||
d->ref();
|
||||
}
|
||||
|
||||
const String &Picture::description() const
|
||||
String Picture::description() const
|
||||
{
|
||||
return d->description;
|
||||
}
|
||||
|
||||
const ByteVector &Picture::data() const
|
||||
ByteVector Picture::data() const
|
||||
{
|
||||
return d->data;
|
||||
}
|
||||
|
||||
const String &Picture::mime() const
|
||||
String Picture::mime() const
|
||||
{
|
||||
return d->mime;
|
||||
}
|
||||
|
@ -116,10 +116,10 @@ namespace TagLib {
|
||||
*/
|
||||
virtual ~Picture();
|
||||
|
||||
const String &mime() const;
|
||||
const String &description() const;
|
||||
String mime() const;
|
||||
String description() const;
|
||||
Type type() const;
|
||||
const ByteVector &data() const;
|
||||
ByteVector data() const;
|
||||
|
||||
/*!
|
||||
* Performs a shallow, implicitly shared, copy of \a p, overwriting the
|
||||
|
Loading…
x
Reference in New Issue
Block a user