added brace wrapping after if and for

This commit is contained in:
fourtf
2018-10-21 13:43:02 +02:00
parent c6e1ec3c71
commit e259b9e39f
138 changed files with 4738 additions and 2237 deletions
+7 -3
View File
@@ -45,7 +45,8 @@ public:
{
assertInGuiThread();
if (!this->itemsChangedTimer_.isActive()) {
if (!this->itemsChangedTimer_.isActive())
{
this->itemsChangedTimer_.start();
}
}
@@ -92,9 +93,12 @@ public:
void *caller = nullptr) override
{
assertInGuiThread();
if (index == -1) {
if (index == -1)
{
index = this->vector_.size();
} else {
}
else
{
assert(index >= 0 && index <= this->vector_.size());
}