Skip to content

Commit 38b8c76

Browse files
committed
Code formatting
1 parent 70053e8 commit 38b8c76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/yup_data_model/tree/yup_DataTree.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class CompoundAction : public UndoableAction
411411

412412
bool isValid() const override
413413
{
414-
return dataTree.object != nullptr && !individualActions.empty();
414+
return dataTree.object != nullptr && ! individualActions.empty();
415415
}
416416

417417
bool perform (UndoableActionState state) override
@@ -1270,7 +1270,7 @@ void DataTree::Transaction::commit()
12701270
}
12711271
}
12721272
}
1273-
1273+
12741274
// Create child actions that capture current state
12751275
for (const auto& change : childChanges)
12761276
{
@@ -1301,9 +1301,9 @@ void DataTree::Transaction::commit()
13011301
}
13021302
}
13031303
}
1304-
1304+
13051305
// If we have undo manager, use compound action for undo/redo
1306-
if (undoManager != nullptr && !actions.empty())
1306+
if (undoManager != nullptr && ! actions.empty())
13071307
{
13081308
undoManager->perform (new CompoundAction (dataTree, std::move (actions)));
13091309
}

0 commit comments

Comments
 (0)