From 4c87055fbbf4b36224cc4003cc9ae38023390400 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Oct 2015 10:03:56 +0200 Subject: 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. --- odb/relational/processor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/relational') 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); } }; -- cgit v1.1