From 404761c525d933df813702c863828058cd26111a Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 27 Nov 2023 10:38:11 +0300 Subject: [PATCH] Fix clang 14 compilation error. --- test/secret.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/secret.cpp b/test/secret.cpp index a238275ca..89741dac3 100644 --- a/test/secret.cpp +++ b/test/secret.cpp @@ -250,6 +250,7 @@ class messages_dhConfig final { TlStoreString::store(random_, s); } }; +const int32 messages_dhConfig::ID; class encryptedChat final { public: @@ -301,6 +302,7 @@ class encryptedChat final { TlStoreBinary::store(key_fingerprint_, s); } }; +const int32 encryptedChat::ID; class messages_sentEncryptedMessage final { public: