aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/package2
-rw-r--r--bpkg/types3
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:
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>