diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
commit | 1963538d18459e1e9f09808912cb0aae9ace1f3c (patch) | |
tree | c1b98011494ac6559eade509195118bdf53344df /brep/view.cxx | |
parent | b5b996507c6287b5216a7c628adfdf23ec7dc4a2 (diff) |
Use bpkg structs in package
Diffstat (limited to 'brep/view.cxx')
-rw-r--r-- | brep/view.cxx | 7 |
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) << "|"; } } |