diff options
Diffstat (limited to 'brep/package.cxx')
-rw-r--r-- | brep/package.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/brep/package.cxx b/brep/package.cxx new file mode 100644 index 0000000..9331f55 --- /dev/null +++ b/brep/package.cxx @@ -0,0 +1,21 @@ +// file : brep/package.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#include <brep/package> + +#include <odb/database.hxx> + +#include <brep/package-odb.hxx> + +namespace brep +{ + // package_version + // + void package_version:: + id (const package_version_id& v, odb::database& db) + { + version = v.version; + package = db.load<package_type> (v.package); + } +} |