diff options
Diffstat (limited to 'odb/common.cxx')
-rw-r--r-- | odb/common.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/common.cxx b/odb/common.cxx index 6d341b8..21475d3 100644 --- a/odb/common.cxx +++ b/odb/common.cxx @@ -551,9 +551,9 @@ check (semantics::typedefs& t) if (ci == 0) return false; - // It must be an object or composite value. + // It must be an object, view, or composite value. // - if (!object (*ci) && !composite (*ci)) + if (class_kind (*ci) == class_other) return false; // This typedef name should be the one that was used in the pragma. |