diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 13:53:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-17 13:53:52 +0200 |
commit | 299c4e373d2c2642a8e4c3537eb0436c5a6b9c09 (patch) | |
tree | 9cc85f9b6011dc2ae91297925ba1a18ef572effa | |
parent | 01a3fda266073b58a4de6dd61417bb2d0e3ecf9e (diff) |
Add std::shared_ptr to common types
-rw-r--r-- | bpkg/package | 2 | ||||
-rw-r--r-- | bpkg/types | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/package b/bpkg/package index 73c0b27..48b7ec8 100644 --- a/bpkg/package +++ b/bpkg/package @@ -90,7 +90,7 @@ namespace bpkg // package // - #pragma db object pointer(std::shared_ptr) + #pragma db object pointer(shared_ptr) class package { public: @@ -7,6 +7,7 @@ #include <vector> #include <string> +#include <memory> // shared_ptr #include <ostream> #include <butl/path> @@ -21,6 +22,8 @@ namespace bpkg using strings = std::vector<string>; using cstrings = std::vector<const char*>; + using std::shared_ptr; + using butl::optional; // <butl/path> |