diff options
author | Scott Wheeler <scott@directededge.com> | 2019-09-11 00:37:02 +0200 |
---|---|---|
committer | Scott Wheeler <scott@directededge.com> | 2019-09-11 00:39:37 +0200 |
commit | c05fa78406fd8ce7382a11c1f63a17c4bfbe83fa (patch) | |
tree | a7c75d612b8ec70e0f523cacf171c6f994559ae2 /taglib/toolkit/tfile.h | |
parent | b8dc105ae3ae5948ac6c7e3a45d5e4d6d846bd75 (diff) |
Mark deprected methods and remove internal usage
This does not put the deprecated marker on methods that will or could resolve
to the same overload, e.g.:
void foo(bool bar = true); // <-- not marked
void foo(Bar bar) // <-- since this will have a default argument in the new version
Diffstat (limited to 'taglib/toolkit/tfile.h')
-rw-r--r-- | taglib/toolkit/tfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taglib/toolkit/tfile.h b/taglib/toolkit/tfile.h index c9a9d37e..3b6ff621 100644 --- a/taglib/toolkit/tfile.h +++ b/taglib/toolkit/tfile.h @@ -264,14 +264,14 @@ namespace TagLib { * * \deprecated */ - static bool isReadable(const char *file); + TAGLIB_DEPRECATED static bool isReadable(const char *file); /*! * Returns true if \a file can be opened for writing. * * \deprecated */ - static bool isWritable(const char *name); + TAGLIB_DEPRECATED static bool isWritable(const char *name); protected: /*! |