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
commit d3d3f7dbb3
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
15 changed files with 19 additions and 19 deletions

View file

@ -41,7 +41,7 @@ namespace Http
class IRequestHandler;
class Connection;
class Server : public QTcpServer
class Server final : public QTcpServer
{
Q_OBJECT
Q_DISABLE_COPY(Server)