diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:46:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:46:17 +0200 |
commit | 69c333f31373177f6809ef4532f9c0c73a1a8148 (patch) | |
tree | f50fed2035fd84ed29359a6811640ed6c7ed7826 /bpkg/package.ixx | |
parent | 738050f2a71b2f0d094a692cc48c94653b82287f (diff) |
Minor code cleanups
Diffstat (limited to 'bpkg/package.ixx')
-rw-r--r-- | bpkg/package.ixx | 17 |
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 ()) + { + } +} |