forked from qt-creator/qt-creator
DiffEditor: Use DiffSide enum inside RowData
Change-Id: I5511e443e2f76a1dab5cc78eec5faec04ee31bcc Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -64,11 +64,10 @@ class DIFFEDITOR_EXPORT RowData {
|
||||
public:
|
||||
RowData() = default;
|
||||
RowData(const TextLineData &l)
|
||||
: leftLine(l), rightLine(l), equal(true) {}
|
||||
: line({l, l}), equal(true) {}
|
||||
RowData(const TextLineData &l, const TextLineData &r)
|
||||
: leftLine(l), rightLine(r) {}
|
||||
TextLineData leftLine;
|
||||
TextLineData rightLine;
|
||||
: line({l, r}) {}
|
||||
std::array<TextLineData, SideCount> line{};
|
||||
bool equal = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user