summaryrefslogtreecommitdiff
path: root/odb/semantics/elements.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-25 12:13:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-27 10:30:15 +0200
commit923639283d2bae0b82cb605fa4680a3058c9d973 (patch)
tree3c122b70129cdd2b502e1f7056eac896c109f03a /odb/semantics/elements.cxx
parentadfa9bbd04cd3571932ee7675344ca723bfa1eab (diff)
Add support for defining indexes
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
Diffstat (limited to 'odb/semantics/elements.cxx')
-rw-r--r--odb/semantics/elements.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/semantics/elements.cxx b/odb/semantics/elements.cxx
index 4b8fcea..ddae187 100644
--- a/odb/semantics/elements.cxx
+++ b/odb/semantics/elements.cxx
@@ -27,13 +27,13 @@ namespace semantics
//
node::
node (path const& file, size_t line, size_t column, tree tn)
- : tree_node_ (tn), file_ (file), line_ (line), column_ (column)
+ : tree_node_ (tn), loc_ (file, line, column)
{
}
node::
node ()
- : file_ ("")
+ : loc_ (0)
{
// GCC plugin machinery #define's abort as a macro.
//