aboutsummaryrefslogtreecommitdiff
path: root/odb/validator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 19:37:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 19:37:48 +0200
commit3e25ac406d1984b1a3efd2d4da8033dc908c3fa0 (patch)
treecad95478338915b24c637cfae330504965eecfe9 /odb/validator.cxx
parentcb2452223e8ad9f724ec15e604910de84835b04b (diff)
Get rid of compiler warnings
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r--odb/validator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx
index 11cbea5..9f733a1 100644
--- a/odb/validator.cxx
+++ b/odb/validator.cxx
@@ -29,7 +29,7 @@ namespace
semantics::type& type (m.type ());
semantics::belongs& b (m.belongs ());
- if (type.fq_anonymous (m.belongs ().hint ()))
+ if (type.fq_anonymous (b.hint ()))
{
// Can be a template-id (which we should handle eventually) or an
// anonymous type in member declaration (e.g., struct {...} m_;).