From 7d1a8bc0e5011dd2b391608a207cf436b388576e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Sep 2010 22:21:11 +0200 Subject: 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. --- odb/semantics/class-template.cxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'odb/semantics/class-template.cxx') diff --git a/odb/semantics/class-template.cxx b/odb/semantics/class-template.cxx index 20c8ba7..516afca 100644 --- a/odb/semantics/class-template.cxx +++ b/odb/semantics/class-template.cxx @@ -8,6 +8,21 @@ namespace semantics { + class_template:: + class_template (path const& file, size_t line, size_t column) + : node (file, line, column) + { + } + + class_instantiation:: + class_instantiation (path const& file, + size_t line, + size_t column, + tree tn) + : node (file, line, column), type (tn) + { + } + // type info // namespace -- cgit v1.1