aboutsummaryrefslogtreecommitdiff
path: root/odb/semantics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:14:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-19 08:39:01 +0200
commit1184351ed13ccd892bf2aaba22d9f1af93e4ec64 (patch)
treeb136c047acd133e63878d227b29105052214a56f /odb/semantics
parent7410d96727a614e1b0168727a6dc586efd20ad89 (diff)
Name enumerators in outer scope
Diffstat (limited to 'odb/semantics')
-rw-r--r--odb/semantics/enum.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/semantics/enum.hxx b/odb/semantics/enum.hxx
index 30e121e..dbc5790 100644
--- a/odb/semantics/enum.hxx
+++ b/odb/semantics/enum.hxx
@@ -54,7 +54,7 @@ namespace semantics
//
//
- class enumerator: public instance
+ class enumerator: public nameable, public instance
{
public:
typedef semantics::enum_ enum_type;
@@ -80,7 +80,7 @@ namespace semantics
enumerated_ = &e;
}
- using instance::add_edge_right;
+ using nameable::add_edge_right;
private:
enumerates* enumerated_;