diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:14:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-08 00:35:29 +0100 |
| commit | d39880eef211a296fa8ef4712cdef5945d08527c (patch) | |
| tree | 45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/pkl.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/pkl.h')
| -rw-r--r-- | src/pkl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,7 +64,7 @@ public: boost::optional<std::string> type (std::string id) const; void add_asset (std::string id, boost::optional<std::string> annotation_text, std::string hash, int64_t size, std::string type); - void write (boost::filesystem::path file, boost::shared_ptr<const CertificateChain> signer) const; + void write (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const; /** @return the most recent disk file used to read or write this PKL, if there is one */ boost::optional<boost::filesystem::path> file () const { @@ -103,7 +103,7 @@ private: std::string _issue_date; std::string _issuer; std::string _creator; - std::list<boost::shared_ptr<Asset> > _asset_list; + std::list<std::shared_ptr<Asset> > _asset_list; /** The most recent disk file used to read or write this PKL */ mutable boost::optional<boost::filesystem::path> _file; }; |
