diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-07 10:03:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-07 10:03:56 +0200 |
commit | 4c87055fbbf4b36224cc4003cc9ae38023390400 (patch) | |
tree | 03c94a661dd43f1a62a11f2e510f29c67d2a38ea /odb/relational | |
parent | 7ac7872103a868f4232f4284aeefc1762bd75a89 (diff) |
Add support for using object pointers as map keys
Also remove the restriction for map keys and set values to be NOT NULL. Not
clear why it was there in the first place and it could be useful if the key
or value is an object pointer.
Diffstat (limited to 'odb/relational')
-rw-r--r-- | odb/relational/processor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/processor.cxx b/odb/relational/processor.cxx index 48ddba4..cf0a776 100644 --- a/odb/relational/processor.cxx +++ b/odb/relational/processor.cxx @@ -421,7 +421,7 @@ namespace relational process_container_value (*it, ih, m, "index", false); if (kt != 0) - process_container_value (*kt, kh, m, "key", false); + process_container_value (*kt, kh, m, "key", true); } }; |