summaryrefslogtreecommitdiff
path: root/src/MusicBuffer.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-10 19:24:33 +0100
committerMax Kellermann <max@musicpd.org>2017-11-10 19:24:33 +0100
commit49784513b13ae8c5a5811fab8439463964a9e151 (patch)
tree7c2bd603ff23a4cab138b38a15e2892588621dfd /src/MusicBuffer.hxx
parent523051132d77cb5da01847592c4c1e1faae93c6a (diff)
util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
Diffstat (limited to 'src/MusicBuffer.hxx')
-rw-r--r--src/MusicBuffer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MusicBuffer.hxx b/src/MusicBuffer.hxx
index 438ade621..b3783a53f 100644
--- a/src/MusicBuffer.hxx
+++ b/src/MusicBuffer.hxx
@@ -50,7 +50,7 @@ public:
* object is inaccessible to other threads.
*/
bool IsEmptyUnsafe() const {
- return buffer.IsEmpty();
+ return buffer.empty();
}
#endif