diff options
author | Ingo Klöcker <[email protected]> | 2024-10-23 08:10:02 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2024-10-23 08:12:08 +0000 |
commit | c4b39a77950b3b737de06eca044b35a845fc6299 (patch) | |
tree | d967319b02ca1871ebc4da943510dd6c6e9d3f9d | |
parent | cpp: Add/change some includes (diff) | |
download | gpgme-c4b39a77950b3b737de06eca044b35a845fc6299.tar.gz gpgme-c4b39a77950b3b737de06eca044b35a845fc6299.zip |
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.
--
-rw-r--r-- | lang/cpp/src/key.h | 2 | ||||
-rw-r--r-- | lang/cpp/src/verificationresult.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h index de0f25a7..8d92b0d4 100644 --- a/lang/cpp/src/key.h +++ b/lang/cpp/src/key.h @@ -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); diff --git a/lang/cpp/src/verificationresult.h b/lang/cpp/src/verificationresult.h index 04c439de..cd455d31 100644 --- a/lang/cpp/src/verificationresult.h +++ b/lang/cpp/src/verificationresult.h @@ -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(); |