aboutsummaryrefslogtreecommitdiff
path: root/brep/view.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/view.cxx')
-rw-r--r--brep/view.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/brep/view.cxx b/brep/view.cxx
index 48c8188..222558a 100644
--- a/brep/view.cxx
+++ b/brep/view.cxx
@@ -82,7 +82,8 @@ namespace brep
}
else
{
- o << "<br>licenses:" << v->license_alternatives.size ();
+ o << "<br>version:" << v->version.string()
+ << "<br>licenses:" << v->license_alternatives.size ();
for (const auto& la : v->license_alternatives)
{
@@ -104,9 +105,9 @@ namespace brep
{
o << " |" << d.package;
- if (!d.version.null ())
+ if (d.version)
{
- o << "," << d.version->value << ","
+ o << "," << d.version->value.string () << ","
<< static_cast<int> (d.version->operation) << "|";
}
}