util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
||||
return buffer.size();
|
||||
}
|
||||
|
||||
bool IsEmpty() const {
|
||||
bool empty() const {
|
||||
return n_allocated == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user