Fix some warning and write more modern c++

This commit is contained in:
joshua
2022-05-25 23:40:08 +02:00
parent 899caeabe9
commit 3dd0986c4f
3 changed files with 24 additions and 24 deletions

View File

@@ -33,8 +33,8 @@ class ChangeElementInformationCommand : public QUndoCommand
public:
ChangeElementInformationCommand(
Element *elmt,
DiagramContext &old_info,
DiagramContext &new_info,
const DiagramContext &old_info,
const DiagramContext &new_info,
QUndoCommand *parent = nullptr);
ChangeElementInformationCommand(QMap<QPointer<Element>, QPair<DiagramContext, DiagramContext>> map,