Commit 8a61347b authored by Tobias Hunger's avatar Tobias Hunger

Add operator= to Task

Reviewed-by: dt
parent e1b6f3a5
......@@ -32,6 +32,17 @@
namespace ProjectExplorer
{
Task &Task::operator=(const Task &source)
{
type = source.type;
description = source.description;
file = source.file;
line = source.line;
category = source.category;
formats = source.formats;
return *this;
}
//
// functions
//
......
......@@ -61,6 +61,8 @@ public:
~Task()
{ }
Task &operator=(const Task &source);
TaskType type;
QString description;
QString file;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment