DiffEditor: Modernize

modernize-use-auto
modernize-use-override
modernize-use-equals-default

Change-Id: I4e70550ed2962781b62661a405517b5c79126bad
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2018-11-07 23:22:59 +01:00
parent df1f975252
commit cce6975fd8
12 changed files with 30 additions and 32 deletions

View File

@@ -33,7 +33,7 @@ namespace Internal {
class DiffSelection
{
public:
DiffSelection() {}
DiffSelection() = default;
DiffSelection(QTextCharFormat *f) : format(f) {}
DiffSelection(int s, int e, QTextCharFormat *f) : start(s), end(e), format(f) {}