From a01f1014b9ef6ecefdc7f76ccb96b364781f6031 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 5 Apr 2023 18:31:59 +0800 Subject: [PATCH] Inline variable defined in header --- src/base/utils/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/utils/net.h b/src/base/utils/net.h index f3c5d8ddd..add22d732 100644 --- a/src/base/utils/net.h +++ b/src/base/utils/net.h @@ -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 loadSSLCertificate(const QByteArray &data); bool isSSLCertificatesValid(const QByteArray &data); QSslKey loadSSLKey(const QByteArray &data);