aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-17 13:53:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-17 13:53:52 +0200
commit299c4e373d2c2642a8e4c3537eb0436c5a6b9c09 (patch)
tree9cc85f9b6011dc2ae91297925ba1a18ef572effa /bpkg/types
parent01a3fda266073b58a4de6dd61417bb2d0e3ecf9e (diff)
Add std::shared_ptr to common types
Diffstat (limited to 'bpkg/types')
-rw-r--r--bpkg/types3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/types b/bpkg/types
index 4110ed8..a5fe114 100644
--- a/bpkg/types
+++ b/bpkg/types
@@ -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>