Add warnings about calling File::save() repeatedly.

This commit is contained in:
Tsuda Kageyu
2015-08-04 15:47:18 +09:00
parent 04ec7eae25
commit 018e969026
11 changed files with 64 additions and 2 deletions

View File

@ -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();

View File

@ -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:

View File

@ -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:

View File

@ -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: