aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/manifest')
-rw-r--r--bpkg/manifest4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpkg/manifest b/bpkg/manifest
index 0ec3a3a..10d1980 100644
--- a/bpkg/manifest
+++ b/bpkg/manifest
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
#include <cstdint> // uint16_t
+#include <ostream>
#include <algorithm> // move()
#include <stdexcept> // 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