aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbpkg/manifest.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 94206f3..09d64d1 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -591,6 +591,12 @@ namespace bpkg
single_line () const;
};
+ inline std::ostream&
+ operator<< (std::ostream& os, const dependency_alternative& da)
+ {
+ return os << da.string ();
+ }
+
class dependency_alternatives:
public butl::small_vector<dependency_alternative, 1>
{
@@ -643,9 +649,9 @@ namespace bpkg
};
inline std::ostream&
- operator<< (std::ostream& os, const dependency_alternatives& da)
+ operator<< (std::ostream& os, const dependency_alternatives& das)
{
- return os << da.string ();
+ return os << das.string ();
}
// requires