diff options
Diffstat (limited to 'bpkg/manifest')
-rw-r--r-- | bpkg/manifest | 5 |
1 files changed, 4 insertions, 1 deletions
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 () ? "<empty-version>" : v.string ()); + } // priority // |