aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.ixx
diff options
context:
space:
mode:
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 ())
+ {
+ }
+}