aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgModel.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-16 20:19:26 +0000
committersaturneric <[email protected]>2023-10-16 20:19:26 +0000
commit5175b3ae6687839afa2cdfe01f2fd70d714024ed (patch)
tree96eef7e087749c9118d5da7a838fdd81b0e96354 /src/core/GpgModel.h
parentfeat: using piml tech on plugin system (diff)
downloadGpgFrontend-5175b3ae6687839afa2cdfe01f2fd70d714024ed.tar.gz
GpgFrontend-5175b3ae6687839afa2cdfe01f2fd70d714024ed.zip
refactor: use c++17 features and piml tech to rewrite DataObject and Task
Diffstat (limited to '')
-rw-r--r--src/core/GpgModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/GpgModel.h b/src/core/GpgModel.h
index 7cd45a80..a5f7d8cc 100644
--- a/src/core/GpgModel.h
+++ b/src/core/GpgModel.h
@@ -46,7 +46,7 @@ using SignIdArgsList = std::vector<std::pair<std::string, std::string>>; ///<
using SignIdArgsListPtr = std::unique_ptr<SignIdArgsList>; ///<
using KeyFprArgsListPtr = std::unique_ptr<std::vector<std::string>>; ///<
using KeyArgsList = std::vector<GpgKey>; ///<
-using KeyListPtr = std::unique_ptr<KeyArgsList>; ///<
+using KeyListPtr = std::shared_ptr<KeyArgsList>; ///<
using GpgKeyLinkList = std::list<GpgFrontend::GpgKey>; ///<
using KeyLinkListPtr = std::unique_ptr<GpgKeyLinkList>; ///<
using KeyPtr = std::unique_ptr<GpgKey>; ///<