Skip to content

Commit

Permalink
lint: use auto
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Nov 6, 2024
1 parent 690d375 commit 7b9fb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ int MainWindow::openNoteDiffDialog(Note changedNote) {
// qDebug() << __func__ << " - 'text1': " << text1;
// qDebug() << __func__ << " - 'text2': " << text2;

diff_match_patch *diff = new diff_match_patch();
auto *diff = new diff_match_patch();
const QList<Diff> diffList = diff->diff_main(text1, text2);

const QString html = diff->diff_prettyHtml(diffList);
Expand Down

0 comments on commit 7b9fb04

Please sign in to comment.