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

@@ -32,8 +32,8 @@
*/
ChangeElementInformationCommand::ChangeElementInformationCommand(
Element *elmt,
DiagramContext &old_info,
DiagramContext &new_info,
const DiagramContext &old_info,
const DiagramContext &new_info,
QUndoCommand *parent) :
QUndoCommand (parent)
{