diff --git a/gui/erroritem.cpp b/gui/erroritem.cpp index 92055678d..46ab536a9 100644 --- a/gui/erroritem.cpp +++ b/gui/erroritem.cpp @@ -18,6 +18,11 @@ #include "erroritem.h" +ErrorItem::ErrorItem() + : severity(Severity::none) +{ +} + ErrorItem::ErrorItem(const ErrorItem &item) { file = item.file; diff --git a/gui/erroritem.h b/gui/erroritem.h index cc0ddc913..cb3db71f9 100644 --- a/gui/erroritem.h +++ b/gui/erroritem.h @@ -97,7 +97,7 @@ public: class ErrorItem { public: - ErrorItem() { } + ErrorItem(); ErrorItem(const ErrorItem &item); ErrorItem(const ErrorLine &line); ~ErrorItem() { }