added brace wrapping after if and for
This commit is contained in:
@@ -33,10 +33,12 @@ public:
|
||||
|
||||
size_t x = 0;
|
||||
|
||||
for (size_t i = 0; i < this->chunks_->size(); i++) {
|
||||
for (size_t i = 0; i < this->chunks_->size(); i++)
|
||||
{
|
||||
auto &chunk = this->chunks_->at(i);
|
||||
|
||||
if (x <= index && x + chunk->size() > index) {
|
||||
if (x <= index && x + chunk->size() > index)
|
||||
{
|
||||
return chunk->at(index - x);
|
||||
}
|
||||
x += chunk->size();
|
||||
|
||||
Reference in New Issue
Block a user