Skip to content

Commit c20dbad

Browse files
committed
Fix Cppcheck warning
1 parent 0cb1c4f commit c20dbad

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

gui/erroritem.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ QErrorPathItem::QErrorPathItem(const ErrorLogger::ErrorMessage::FileLocation &lo
2626
{
2727
}
2828

29-
QErrorPathItem::QErrorPathItem(const QErrorPathItem &e)
30-
: file(e.file)
31-
, line(e.line)
32-
, col(e.col)
33-
, info(e.info)
34-
{
35-
}
36-
3729
ErrorItem::ErrorItem()
3830
: severity(Severity::none)
3931
, inconclusive(false)

gui/erroritem.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class QErrorPathItem {
5353
public:
5454
QErrorPathItem() : line(0), col(-1) {}
5555
explicit QErrorPathItem(const ErrorLogger::ErrorMessage::FileLocation &loc);
56-
explicit QErrorPathItem(const QErrorPathItem &e);
5756
QString file;
5857
unsigned int line;
5958
int col;

0 commit comments

Comments
 (0)