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/elements.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/elements.hxx')
-rw-r--r-- | odb/semantics/elements.hxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/odb/semantics/elements.hxx b/odb/semantics/elements.hxx index 03925f5..023e3a2 100644 --- a/odb/semantics/elements.hxx +++ b/odb/semantics/elements.hxx @@ -120,10 +120,7 @@ namespace semantics } public: - node (path const& file, size_t line, size_t column) - : file_ (file), line_ (line), column_ (column) - { - } + node (path const& file, size_t line, size_t column); // Sink functions that allow extensions in the form of one-way // edges. @@ -136,14 +133,7 @@ namespace semantics protected: // For virtual inheritance. Should never be actually called. // - node () - : file_ ("") - { - // GCC plugin machinery #define's abort as a macro. - // - //std::abort (); - abort (); - } + node (); private: path file_; |