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/enum.hxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'odb/semantics/enum.hxx') diff --git a/odb/semantics/enum.hxx b/odb/semantics/enum.hxx index b03a56c..5dc6d50 100644 --- a/odb/semantics/enum.hxx +++ b/odb/semantics/enum.hxx @@ -33,9 +33,7 @@ namespace semantics } public: - enumerates () - { - } + enumerates (); void set_left_node (enum_type& n) @@ -74,10 +72,7 @@ namespace semantics } public: - enumerator (path const& file, size_t line, size_t column) - : node (file, line, column) - { - } + enumerator (path const&, size_t line, size_t column); void add_edge_right (enumerates& e) @@ -116,10 +111,7 @@ namespace semantics } public: - enum_ (path const& file, size_t line, size_t column, tree tn) - : node (file, line, column), type (tn) - { - } + enum_ (path const&, size_t line, size_t column, tree); void add_edge_left (enumerates& e) -- cgit v1.1