Port ExternalPartStorage::self to C++11 singleton syntax.
ClosedPublic

Authored by dfaure on May 11 2019, 10:24 AM.

Details

Summary

Much simpler, and fixes a strange asan error about sInstance violating
ODR because defined twice in the test binary (which didn't seem right to me).

Test Plan

externalpartstoragetest now passes in the ASAN build

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure requested review of this revision.May 11 2019, 10:24 AM
dfaure created this revision.
vkrause accepted this revision.May 11 2019, 2:49 PM
This revision is now accepted and ready to land.May 11 2019, 2:49 PM
This revision was automatically updated to reflect the committed changes.
Restricted Application added a project: KDE PIM. · View Herald TranscriptMay 13 2019, 4:10 PM