aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-22 13:46:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-22 13:46:17 +0200
commit69c333f31373177f6809ef4532f9c0c73a1a8148 (patch)
treef50fed2035fd84ed29359a6811640ed6c7ed7826 /bpkg/package.ixx
parent738050f2a71b2f0d094a692cc48c94653b82287f (diff)
Minor code cleanups
Diffstat (limited to 'bpkg/package.ixx')
-rw-r--r--bpkg/package.ixx17
1 files changed, 17 insertions, 0 deletions
diff --git a/bpkg/package.ixx b/bpkg/package.ixx
new file mode 100644
index 0000000..79cb0b1
--- /dev/null
+++ b/bpkg/package.ixx
@@ -0,0 +1,17 @@
+// file : bpkg/package.ixx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+namespace bpkg
+{
+ // package_version_id
+ //
+ inline package_version_id::
+ package_version_id (string n, const version& v)
+ : name (move (n)),
+ epoch (v.epoch ()),
+ upstream (v.canonical_upstream ()),
+ revision (v.revision ())
+ {
+ }
+}