summaryrefslogtreecommitdiff
path: root/odb/semantics/union-template.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-03-29 11:40:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-03-29 11:40:32 +0200
commit16692f69f3ce5e533c835b553bd00e149191fd9c (patch)
tree1c0a0b6f45499aae413401c1f377ba7b4ef1cdab /odb/semantics/union-template.hxx
parent02900cdf9a156e631b16c4360c8cb7e6484b004f (diff)
Assign tree nodes to graph type nodes
Diffstat (limited to 'odb/semantics/union-template.hxx')
-rw-r--r--odb/semantics/union-template.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/semantics/union-template.hxx b/odb/semantics/union-template.hxx
index 1aaadb7..8e74e6e 100644
--- a/odb/semantics/union-template.hxx
+++ b/odb/semantics/union-template.hxx
@@ -28,8 +28,11 @@ namespace semantics
class union_instantiation: public union_, public type_instantiation
{
public:
- union_instantiation (path const& file, size_t line, size_t column)
- : node (file, line, column)
+ union_instantiation (path const& file,
+ size_t line,
+ size_t column,
+ tree tn)
+ : node (file, line, column), type (tn)
{
}