diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-02 22:21:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-02 22:21:11 +0200 |
commit | 7d1a8bc0e5011dd2b391608a207cf436b388576e (patch) | |
tree | 56776c5bad19249e958d298439f7d21489ed28c0 /odb/semantics/union-template.cxx | |
parent | 2b02d443ab344bc02dfc2891fb1a57c6520c393f (diff) |
Move constructors to the source files
This is done so that when the plugin is built as a static library,
the object files with type information get pulled in.
Diffstat (limited to 'odb/semantics/union-template.cxx')
-rw-r--r-- | odb/semantics/union-template.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/semantics/union-template.cxx b/odb/semantics/union-template.cxx index 6aa192b..ea235e7 100644 --- a/odb/semantics/union-template.cxx +++ b/odb/semantics/union-template.cxx @@ -8,6 +8,21 @@ namespace semantics { + union_template:: + union_template (path const& file, size_t line, size_t column) + : node (file, line, column) + { + } + + union_instantiation:: + union_instantiation (path const& file, + size_t line, + size_t column, + tree tn) + : node (file, line, column), type (tn) + { + } + // type info // namespace |