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

@ -133,6 +133,11 @@ namespace TagLib {
/*!
* Saves the file.
*
* This returns true if the save was successful.
*
* \warning In the current implementation, it's dangerous to call save()
* repeatedly. At worst it will corrupt the file.
*/
virtual bool save();