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.hxx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'odb/semantics/class-template.hxx') diff --git a/odb/semantics/class-template.hxx b/odb/semantics/class-template.hxx index 7d069ec..730d6bb 100644 --- a/odb/semantics/class-template.hxx +++ b/odb/semantics/class-template.hxx @@ -33,10 +33,7 @@ namespace semantics } public: - class_template (path const& file, size_t line, size_t column) - : node (file, line, column) - { - } + class_template (path const&, size_t line, size_t column); void add_edge_left (inherits& e) @@ -63,13 +60,7 @@ namespace semantics class class_instantiation: public class_, public type_instantiation { public: - class_instantiation (path const& file, - size_t line, - size_t column, - tree tn) - : node (file, line, column), type (tn) - { - } + class_instantiation (path const&, size_t line, size_t column, tree); using class_::add_edge_left; using type_instantiation::add_edge_left; -- cgit v1.1