diff options
Diffstat (limited to 'src/core/model/GpgKeySignature.h')
-rw-r--r-- | src/core/model/GpgKeySignature.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/core/model/GpgKeySignature.h b/src/core/model/GpgKeySignature.h index ccff0c9c..5f190fa2 100644 --- a/src/core/model/GpgKeySignature.h +++ b/src/core/model/GpgKeySignature.h @@ -160,34 +160,17 @@ class GPGFRONTEND_CORE_EXPORT GpgKeySignature { * @brief Construct a new Gpg Key Signature object * */ - GpgKeySignature(GpgKeySignature &&) noexcept; - - /** - * @brief Construct a new Gpg Key Signature object - * - */ - GpgKeySignature(const GpgKeySignature &) = delete; - - /** - * @brief - * - * @return GpgKeySignature& - */ - auto operator=(GpgKeySignature &&) noexcept -> GpgKeySignature &; + GpgKeySignature(const GpgKeySignature &); /** * @brief * * @return GpgKeySignature& */ - auto operator=(const GpgKeySignature &) -> GpgKeySignature & = delete; + auto operator=(const GpgKeySignature &) -> GpgKeySignature &; private: - using KeySignatrueRefHandler = - std::unique_ptr<struct _gpgme_key_sig, - std::function<void(gpgme_key_sig_t)>>; ///< - - KeySignatrueRefHandler signature_ref_ = nullptr; ///< + gpgme_key_sig_t signature_ref_ = nullptr; ///< }; } // namespace GpgFrontend |