From 3e25ac406d1984b1a3efd2d4da8033dc908c3fa0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Sep 2010 19:37:48 +0200 Subject: Get rid of compiler warnings --- odb/validator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/validator.cxx') 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_;). -- cgit v1.1