1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/persistence
Brandon Mosher 1438f8f766 refactor: Provide a Virtual Method Anchor for Classes in Headers
Define at least one virtual method in polymorphic class cpp files to
improve link efficiency. Do so by defining a defaulted destructor or
another overridden virtual method in the class cpp file.
Also add explicitly defaulted copy/move constructors and assignment
operators to follow the rule of five and to avoid compiler suppression
of these functions due to the addition of a user-provided destructor.
Where neccessary, create new cpp files and add them to CMakeLists and
Testing.cmake. Set the -Wweak-vtables by default when compiling with
clang to issue warnings for new classes that do not comply with this
pattern.

See http://llvm.org/docs/CodingStandards.html#provide-a-virtual-method-anchor-for-classes-in-headers.

Fixes #6036.
2021-10-26 16:47:40 +00:00
..
db refactor(cmake): change folder structure 2020-05-11 16:45:52 +02:00
history.cpp feat(history): Save/load system messages to history 2021-10-16 14:29:57 -07:00
history.h feat(history): Save/load system messages to history 2021-10-16 14:29:57 -07:00
ifriendsettings.cpp refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
ifriendsettings.h refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
igroupsettings.cpp refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
igroupsettings.h refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
inotificationsettings.cpp refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
inotificationsettings.h refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
offlinemsgengine.cpp fix: Replace deprecated QMutex::Recursive with QRecursiveMutex 2021-06-06 01:29:44 -07:00
offlinemsgengine.h fix: Replace deprecated QMutex::Recursive with QRecursiveMutex 2021-06-06 01:29:44 -07:00
paths.cpp feat(core): use user editable bootstrap node list 2020-05-10 21:40:04 -07:00
paths.h feat(core): use user editable bootstrap node list 2020-05-10 21:40:04 -07:00
profile.cpp feat(messages): History and offline message support for extended messages 2021-01-30 12:52:06 -08:00
profile.h refactor(profile): remove some uses of Settings::getInstance() 2020-08-29 00:45:21 +02:00
profilelocker.cpp refactor(paths): move Settings path functions into Paths 2020-05-10 18:03:47 -07:00
profilelocker.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
serialize.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
serialize.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
settings.cpp fix: Replace deprecated QMutex::Recursive with QRecursiveMutex 2021-06-06 01:29:44 -07:00
settings.h fix: Replace deprecated QMutex::Recursive with QRecursiveMutex 2021-06-06 01:29:44 -07:00
settingsserializer.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
settingsserializer.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
smileypack.cpp fix(smileys): fix flag emojis 2021-02-16 09:29:21 -08:00
smileypack.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
toxsave.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
toxsave.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00