From 67a0e8d70f0caf8b85e0cf2031333236b2a3dcdf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 24 Jan 2016 14:46:19 +0200 Subject: Add checksum verification --- bpkg/types | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'bpkg/types') diff --git a/bpkg/types b/bpkg/types index e667fc0..b0db478 100644 --- a/bpkg/types +++ b/bpkg/types @@ -10,6 +10,7 @@ #include // shared_ptr, unique_ptr #include // size_t #include // uint{8,16,32,64}_t +#include #include #include @@ -33,6 +34,9 @@ namespace bpkg using strings = vector; using cstrings = vector; + using std::istream; + using std::ostream; + using butl::optional; using butl::nullopt; @@ -56,11 +60,11 @@ namespace bpkg using paths = std::vector; using dir_paths = std::vector; - 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; -- cgit v1.1