[Bug 308763] kdepimlibs compilation fails

Martin Klapetek martin.klapetek at gmail.com
Mon Oct 29 18:36:38 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=308763

--- Comment #17 from Martin Klapetek <martin.klapetek at gmail.com> ---
Digging a bit deeper I found the cause for both compilation failures (mine and
Bogdan's) and also the difference between SFI and KABC::Addressee - the
SocialFeedItem misses the &operator method.  Simply adding it compiles my code
fine with the private class in the .cpp file.

Bogdan, can you try adding

    SocialFeedItem &operator=(const SocialFeedItem &other);

to socialfeeditem.h (under the dtor) and 

Akonadi::SocialFeedItem& Akonadi::SocialFeedItem::operator=(const
Akonadi::SocialFeedItem& other)
{
  if (this == &other) return *this; //Protect against self-assignment
  d = other.d;
  return *this;
}

in the socialfeeditem.cpp and try compiling again on windows without any other
changes? Should just work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-windows mailing list