Commit 7e396185 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize in header

parent eed2f127
Pipeline #39247 canceled with stage
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
TaskAttribute::TaskAttribute() TaskAttribute::TaskAttribute()
: Akonadi::Attribute() : Akonadi::Attribute()
, mId(-1)
{ {
} }
......
...@@ -29,7 +29,7 @@ public: ...@@ -29,7 +29,7 @@ public:
Akonadi::Item::Id taskId() const; Akonadi::Item::Id taskId() const;
private: private:
Akonadi::Item::Id mId; Akonadi::Item::Id mId = {-1};
}; };
#endif #endif
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