1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src
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
..
chatlog refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
core refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
model refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
net refactor(log): change unstable version warning message 2020-12-15 16:28:41 +02:00
persistence refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
platform fix(appimage): Use external binary path when enabling autorun from appimage 2021-09-23 21:05:27 -07:00
video refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
widget refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
friendlist.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
friendlist.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
grouplist.cpp refactor: remove Core::getInstance from grouplist 2020-05-11 10:28:26 +02:00
grouplist.h refactor: remove Core::getInstance from grouplist 2020-05-11 10:28:26 +02:00
ipc.cpp fix(ipc): allow IPC under windows by not using std::random_device with mingw 2020-04-30 19:26:18 -07:00
ipc.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
loginscreen.ui refactor(nexus): make loginscreen independent of nexus 2018-02-01 22:00:06 +01:00
main.cpp refactor(core): use STL random implementation insted of Qt 2020-12-22 16:37:05 +01:00
mainwindow.ui fix(ui): show empty status as placeholder instead of as status 2019-05-07 14:34:08 -07:00
nexus.cpp feat(messages): Multipacket message support 2021-01-30 12:52:06 -08:00
nexus.h refactor(cmake): change folder structure 2020-05-11 16:45:52 +02:00