Fix a compile warning
@@ -129,7 +129,7 @@ BitVector::pushBack(bool bit) {
std::string
BitVector::toString() const {
std::string bits;
- for (int i = 0; i < this->size(); i++) {
+ for (unsigned int i = 0; i < this->size(); i++) {
bits.append(std::to_string(this->at(i)));
}
return bits;
