cpp: Put attributes before declarations

* lang/cpp/src/key.h (UserID::Signature::Notation): Move
GPGMEPP_DEPRECATED before the whole typedef declaration.
* lang/cpp/src/verificationresult.h (Signature::Notation): Ditto.
--
This commit is contained in:
Ingo Klöcker 2024-10-23 10:10:02 +02:00
parent bff4b847fc
commit c4b39a7795
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
2 changed files with 2 additions and 2 deletions

View File

@ -475,7 +475,7 @@ private:
class GPGMEPP_EXPORT UserID::Signature
{
public:
typedef GPGMEPP_DEPRECATED GpgME::Notation Notation;
GPGMEPP_DEPRECATED typedef GpgME::Notation Notation;
Signature();
Signature(const shared_gpgme_key_t &key, gpgme_user_id_t uid, gpgme_key_sig_t sig);

View File

@ -87,7 +87,7 @@ class GPGMEPP_EXPORT Signature
friend class ::GpgME::VerificationResult;
Signature(const std::shared_ptr<VerificationResult::Private> &parent, unsigned int index);
public:
typedef GPGMEPP_DEPRECATED GpgME::Notation Notation;
GPGMEPP_DEPRECATED typedef GpgME::Notation Notation;
Signature();