aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-24 00:25:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-24 17:11:47 +0300
commit6ce19c537bd9de8d3c9821841bc5ed680b762742 (patch)
tree2a487b1d5ec75b05e3001a461f149e14e5a859a8 /libbrep/package.cxx
parent3363e1239973a66722f681999771964e39a98332 (diff)
Adapt to inventing package_name type
Diffstat (limited to 'libbrep/package.cxx')
-rw-r--r--libbrep/package.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbrep/package.cxx b/libbrep/package.cxx
index 984f36b..7d94422 100644
--- a/libbrep/package.cxx
+++ b/libbrep/package.cxx
@@ -15,7 +15,7 @@ namespace brep
{
// dependency
//
- string dependency::
+ package_name dependency::
name () const
{
return package.object_id ().name;
@@ -47,7 +47,7 @@ namespace brep
// package
//
package::
- package (string nm,
+ package (package_name nm,
version_type vr,
priority_type pr,
string sm,
@@ -97,7 +97,7 @@ namespace brep
}
package::
- package (string nm,
+ package (package_name nm,
version_type vr,
shared_ptr<repository_type> rp)
: id (move (nm), vr),
@@ -123,7 +123,8 @@ namespace brep
// Probably drop-box would be better as also tells what are
// the available internal repositories.
//
- string k (id.name + " " + version.string () + " " + version.string (true));
+ string k (id.name.string () + " " + version.string () + " " +
+ version.string (true));
// Add tags to keywords.
//