Add final specifier to classes

This allow compilers to generate more efficient code.
This commit is contained in:
Chocobo1
2020-04-17 12:37:53 +08:00
parent 2681093d27
commit d3d3f7dbb3
15 changed files with 19 additions and 19 deletions

View File

@@ -70,7 +70,7 @@ namespace BitTorrent
// *Basic* Bittorrent tracker implementation
// [BEP-3] The BitTorrent Protocol Specification
// also see: https://wiki.theory.org/index.php/BitTorrentSpecification#Tracker_HTTP.2FHTTPS_Protocol
class Tracker : public QObject, public Http::IRequestHandler, private Http::ResponseBuilder
class Tracker final : public QObject, public Http::IRequestHandler, private Http::ResponseBuilder
{
Q_OBJECT
Q_DISABLE_COPY(Tracker)