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/template.hxx | |
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/template.hxx')
-rw-r--r-- | odb/semantics/template.hxx | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/odb/semantics/template.hxx b/odb/semantics/template.hxx index b610cfb..8667dc6 100644 --- a/odb/semantics/template.hxx +++ b/odb/semantics/template.hxx @@ -46,9 +46,7 @@ namespace semantics using nameable::add_edge_right; protected: - template_ () - { - } + template_ (); private: instantiated instantiated_; @@ -77,9 +75,7 @@ namespace semantics } public: - instantiates () - { - } + instantiates (); void set_left_node (instantiation_type& n) @@ -126,9 +122,7 @@ namespace semantics } protected: - instantiation () - { - } + instantiation (); private: instantiates_type* instantiates_; @@ -141,17 +135,13 @@ namespace semantics class type_template: public template_ { protected: - type_template () - { - } + type_template (); }; class type_instantiation: public virtual type, public instantiation { protected: - type_instantiation () - { - } + type_instantiation (); }; } |