From 213f575151429bbfa0869e6d2fe99c1bbc785ce1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Sep 2015 13:40:48 +0200 Subject: Add support for printing version --- bpkg/manifest | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bpkg/manifest b/bpkg/manifest index 0ec3a3a..10d1980 100644 --- a/bpkg/manifest +++ b/bpkg/manifest @@ -8,6 +8,7 @@ #include #include #include // uint16_t +#include #include // move() #include // logic_error @@ -129,6 +130,9 @@ namespace bpkg std::string canonical_upstream_; // Upstream part canonical representation. }; + inline std::ostream& + operator<< (std::ostream& os, const version& v) {return os << v.string ();} + // priority // class priority -- cgit v1.1