]> Savannah Git Hosting - gnulib.git/commit
oset-c++, omap-c++: Remove restriction for search_atleast method.
authorBruno Haible <bruno@clisp.org>
Sun, 2 Aug 2020 18:19:31 +0000 (20:19 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Aug 2020 18:22:22 +0000 (20:22 +0200)
commit7709284be61aaf9be6394221df5dd0179b871d15
tree88e6d89fbccf432c47510330e9d4c39e8cbe8cde
parented5f8be830336287357038c17a7b9efa1887a591
oset-c++, omap-c++: Remove restriction for search_atleast method.

* lib/gl_oset.hh (gl_OSet::search_atleast): Allow the threshold to be of
a different type than the element.
* lib/gl_omap.hh (gl_OMap::search_atleast): Allow the threshold to be of
a different type than the key.
ChangeLog
lib/gl_omap.hh
lib/gl_oset.hh