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:
Patrick Donnelly 2020-01-15 12:40:05 -08:00
commit 0e178461df
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -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;