diff options
author | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2017-02-07 22:36:56 +0900 |
---|---|---|
committer | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2017-02-07 22:36:56 +0900 |
commit | f76b1e54296a71ec52664ebb411a2ba127ede67d (patch) | |
tree | 100222e16bf7b1aab27ef705a3dc8c64e1c3e1c1 /taglib/riff/wav/wavfile.cpp | |
parent | d4d8410c081d910891e4d8821bb46c06482d297e (diff) |
Rename the functions 'isValidStream' to 'isSupported'.
The name 'isValidStream' is a little misleading because it doesn't check if the stream is really valid. Additionally, 'isSupported' can be naturally overloaded.
Diffstat (limited to 'taglib/riff/wav/wavfile.cpp')
-rw-r--r-- | taglib/riff/wav/wavfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taglib/riff/wav/wavfile.cpp b/taglib/riff/wav/wavfile.cpp index 5e92b29e..0ebe21c3 100644 --- a/taglib/riff/wav/wavfile.cpp +++ b/taglib/riff/wav/wavfile.cpp @@ -65,7 +65,7 @@ public: // static members //////////////////////////////////////////////////////////////////////////////// -bool RIFF::WAV::File::isValidStream(IOStream *stream) +bool RIFF::WAV::File::isSupported(IOStream *stream) { // A WAV file has to start with "RIFF????WAVE". |