diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:27:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:27:35 +0200 |
commit | 633f9c5ac574750799efdfe5d1eb31db40a267da (patch) | |
tree | 22a579a5e476f7f6ad0cec0d2d39a9247d559ac7 /odb/semantics/fundamental.hxx | |
parent | 05216e9cbe22690ec45f0ca2665d3b1ee7dedb55 (diff) |
Make nameable::fq_name virtual
Override it for fundamental type to do the right thing.
Diffstat (limited to 'odb/semantics/fundamental.hxx')
-rw-r--r-- | odb/semantics/fundamental.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/semantics/fundamental.hxx b/odb/semantics/fundamental.hxx index 5cee2ac..cd68688 100644 --- a/odb/semantics/fundamental.hxx +++ b/odb/semantics/fundamental.hxx @@ -14,8 +14,11 @@ namespace semantics // Fundamental C++ types. // - class fund_type: public type + struct fund_type: public type { + virtual string + fq_name () const; + protected: fund_type (tree tn) : type (tn) {} |