diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-01 07:15:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-01 11:06:50 +0200 |
commit | 18aeb349f502bfdf3ddc64e6a3f671a0a818a3f3 (patch) | |
tree | 6a97c7b27f1387c8e902b3efd192b1557f9dea63 /odb/common.cxx | |
parent | fd3f1c89d75950c3603661a7255866d680ec5033 (diff) |
Add support for defining persistent objects as class template instantiations
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 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. |