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/elements.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'odb/semantics/elements.cxx') diff --git a/odb/semantics/elements.cxx b/odb/semantics/elements.cxx index a25df86..341de3c 100644 --- a/odb/semantics/elements.cxx +++ b/odb/semantics/elements.cxx @@ -18,6 +18,24 @@ namespace semantics return access_str[value_]; } + // + // + node:: + node (path const& file, size_t line, size_t column) + : file_ (file), line_ (line), column_ (column) + { + } + + node:: + node () + : file_ ("") + { + // GCC plugin machinery #define's abort as a macro. + // + // std::abort (); + abort (); + } + // nameable // -- cgit v1.1