Inline variable defined in header

This commit is contained in:
Chocobo1 2023-04-05 18:31:59 +08:00
parent 77411760a0
commit a01f1014b9
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace Utils::Net
QString subnetToString(const Subnet &subnet);
QHostAddress canonicalIPv6Addr(const QHostAddress &addr);
const int MAX_SSL_FILE_SIZE = 1024 * 1024;
inline const int MAX_SSL_FILE_SIZE = 1024 * 1024;
QList<QSslCertificate> loadSSLCertificate(const QByteArray &data);
bool isSSLCertificatesValid(const QByteArray &data);
QSslKey loadSSLKey(const QByteArray &data);