diff options
Diffstat (limited to 'src/core/model/GpgSignature.h')
-rw-r--r-- | src/core/model/GpgSignature.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/core/model/GpgSignature.h b/src/core/model/GpgSignature.h index ddcc943f..aa977d55 100644 --- a/src/core/model/GpgSignature.h +++ b/src/core/model/GpgSignature.h @@ -117,33 +117,16 @@ class GPGFRONTEND_CORE_EXPORT GpgSignature { * @brief Construct a new Gpg Signature object * */ - GpgSignature(GpgSignature &&) noexcept; - - /** - * @brief Construct a new Gpg Signature object - * - */ - GpgSignature(const GpgSignature &) = delete; - - /** - * @brief - * - * @return GpgSignature& - */ - auto operator=(GpgSignature &&) noexcept -> GpgSignature &; + GpgSignature(const GpgSignature &); /** * @brief * * @return GpgSignature& */ - auto operator=(const GpgSignature &) -> GpgSignature & = delete; + auto operator=(const GpgSignature &) -> GpgSignature &; private: - using KeySignatrueRefHandler = - std::unique_ptr<struct _gpgme_signature, - std::function<void(gpgme_signature_t)>>; ///< - - KeySignatrueRefHandler signature_ref_ = nullptr; ///< + gpgme_signature_t signature_ref_ = nullptr; ///< }; } // namespace GpgFrontend |