aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/types')
-rw-r--r--bpkg/types12
1 files changed, 8 insertions, 4 deletions
diff --git a/bpkg/types b/bpkg/types
index e667fc0..b0db478 100644
--- a/bpkg/types
+++ b/bpkg/types
@@ -10,6 +10,7 @@
#include <memory> // shared_ptr, unique_ptr
#include <cstddef> // size_t
#include <cstdint> // uint{8,16,32,64}_t
+#include <istream>
#include <ostream>
#include <odb/lazy-ptr.hxx>
@@ -33,6 +34,9 @@ namespace bpkg
using strings = vector<string>;
using cstrings = vector<const char*>;
+ using std::istream;
+ using std::ostream;
+
using butl::optional;
using butl::nullopt;
@@ -56,11 +60,11 @@ namespace bpkg
using paths = std::vector<path>;
using dir_paths = std::vector<dir_path>;
- inline std::ostream&
- operator<< (std::ostream& os, const path& p) {return os << p.string ();}
+ inline ostream&
+ operator<< (ostream& os, const path& p) {return os << p.string ();}
- inline std::ostream&
- operator<< (std::ostream& os, const dir_path& p)
+ inline ostream&
+ operator<< (ostream& os, const dir_path& p)
{
const string& s (p.string ());
os << s;