diff options
Diffstat (limited to 'odb')
-rw-r--r-- | odb/common.cxx | 4 | ||||
-rw-r--r-- | odb/common.hxx | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/odb/common.cxx b/odb/common.cxx index f52cee6..b75d323 100644 --- a/odb/common.cxx +++ b/odb/common.cxx @@ -504,9 +504,9 @@ check (semantics::typedefs& t) if (ci == 0) return false; - // It must be a composite value. + // It must be an object or composite value. // - if (!composite (*ci)) + if (!object (*ci) && !composite (*ci)) return false; // This typedef name should be the one that was used in the pragma. diff --git a/odb/common.hxx b/odb/common.hxx index 0fcd481..6e70f43 100644 --- a/odb/common.hxx +++ b/odb/common.hxx @@ -420,7 +420,8 @@ private: columns columns_; }; -// Traverse composite values that are class template instantiations. +// Traverse objects and composite values that are class template +// instantiations. // struct typedefs: traversal::typedefs, context { |