From 38a151f6b970f966e11b1843203e9ac0e372422d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 30 Jan 2016 20:15:18 +0200 Subject: Print instead of throwing --- bpkg/manifest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bpkg/manifest b/bpkg/manifest index d932b2a..5d19ea5 100644 --- a/bpkg/manifest +++ b/bpkg/manifest @@ -147,7 +147,10 @@ namespace bpkg }; inline std::ostream& - operator<< (std::ostream& os, const version& v) {return os << v.string ();} + operator<< (std::ostream& os, const version& v) + { + return os << (v.empty () ? "" : v.string ()); + } // priority // -- cgit v1.1