Skip to content
Snippets Groups Projects
Commit 8a61347b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add operator= to Task

Reviewed-by: dt
parent e1b6f3a5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment