clang: fix documentation (#1111)

* Use [[deprecated]] always

Simplifies the code. Codebase is C++17 anyways.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* clang: fix documentation

Found with Wdocumentation

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* add deprecated to length() and fix usages

Signed-off-by: Rosen Penev <rosenp@gmail.com>

---------

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2023-09-03 06:14:05 -07:00
committed by GitHub
parent d2bd56c519
commit ecf1d4fa53
9 changed files with 13 additions and 21 deletions

View File

@@ -26,6 +26,7 @@
#ifndef TAGLIB_AUDIOPROPERTIES_H
#define TAGLIB_AUDIOPROPERTIES_H
#include "taglib.h"
#include "taglib_export.h"
#include <memory>
@@ -77,6 +78,7 @@ namespace TagLib {
*
* \deprecated Use lengthInSeconds().
*/
TAGLIB_DEPRECATED
virtual int length() const;
/*!