aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/UID.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpg/UID.h')
-rw-r--r--include/gpg/UID.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/gpg/UID.h b/include/gpg/UID.h
index ecd361fd..d7a0f3bd 100644
--- a/include/gpg/UID.h
+++ b/include/gpg/UID.h
@@ -45,16 +45,13 @@ struct UID {
UID() = default;
- explicit UID(gpgme_user_id_t user_id):
- uid(user_id->uid), name(user_id->name), email(user_id->email), comment(user_id->comment) {
+ explicit UID(gpgme_user_id_t user_id);
- auto sig = user_id->signatures;
+ UID(UID &&) noexcept = default;
+ UID(const UID &) = default;
+ UID& operator=(UID &&) noexcept = default;
+ UID& operator=(const UID &) = default;
- while (sig != nullptr) {
- signatures.push_back(Signature(sig));
- }
-
- }
};
#endif //GPGFRONTEND_UID_H \ No newline at end of file