mirror of
https://github.com/taglib/taglib.git
synced 2025-07-27 09:24:25 -04:00
Add warnings about calling File::save() repeatedly.
This commit is contained in:
@ -127,6 +127,9 @@ namespace TagLib {
|
||||
/*!
|
||||
* Save the file. This will primarily save and update the XiphComment.
|
||||
* Returns true if the save is successful.
|
||||
*
|
||||
* \warning In the current implementation, it's dangerous to call save()
|
||||
* repeatedly. It leads to a segfault.
|
||||
*/
|
||||
virtual bool save();
|
||||
|
||||
|
@ -106,6 +106,14 @@ namespace TagLib {
|
||||
*/
|
||||
virtual Properties *audioProperties() const;
|
||||
|
||||
/*!
|
||||
* Save the file.
|
||||
*
|
||||
* This returns true if the save was successful.
|
||||
*
|
||||
* \warning In the current implementation, it's dangerous to call save()
|
||||
* repeatedly. It leads to a segfault.
|
||||
*/
|
||||
virtual bool save();
|
||||
|
||||
private:
|
||||
|
@ -106,8 +106,14 @@ namespace TagLib {
|
||||
*/
|
||||
virtual Properties *audioProperties() const;
|
||||
|
||||
|
||||
|
||||
/*!
|
||||
* Save the file.
|
||||
*
|
||||
* This returns true if the save was successful.
|
||||
*
|
||||
* \warning In the current implementation, it's dangerous to call save()
|
||||
* repeatedly. It leads to a segfault.
|
||||
*/
|
||||
virtual bool save();
|
||||
|
||||
private:
|
||||
|
@ -114,6 +114,14 @@ namespace TagLib {
|
||||
*/
|
||||
virtual Properties *audioProperties() const;
|
||||
|
||||
/*!
|
||||
* Save the file.
|
||||
*
|
||||
* This returns true if the save was successful.
|
||||
*
|
||||
* \warning In the current implementation, it's dangerous to call save()
|
||||
* repeatedly. It leads to a segfault.
|
||||
*/
|
||||
virtual bool save();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user