mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
Merge PR #32541 into master
* refs/pull/32541/head: mds: add comment in feature_bitset_t::empty Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
0e178461df
@ -1087,6 +1087,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
bool empty() const {
|
||||
//block_type is a uint64_t. If the vector is only composed of 0s, then it's still "empty"
|
||||
for (auto& v : _vec) {
|
||||
if (v)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user