mirror of
https://github.com/taglib/taglib.git
synced 2026-06-07 14:59:24 -04:00
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:
@@ -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;
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user