GUI: Initialize Severity in ErrorItem constructor.

This commit is contained in:
Kimmo Varis 2011-03-07 23:43:59 +02:00
parent d9efd53033
commit d8ced1dbb1
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,11 @@
#include "erroritem.h"
ErrorItem::ErrorItem()
: severity(Severity::none)
{
}
ErrorItem::ErrorItem(const ErrorItem &item)
{
file = item.file;

View File

@ -97,7 +97,7 @@ public:
class ErrorItem
{
public:
ErrorItem() { }
ErrorItem();
ErrorItem(const ErrorItem &item);
ErrorItem(const ErrorLine &line);
~ErrorItem() { }