]> git.saurik.com Git - wxWidgets.git/commit - include/wx/hashmap.h
Use float instead of double division in wxHashMap code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:34 +0000 (11:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:34 +0000 (11:01 +0000)
commit4e116788a252ca2f8de2f42b598795f3525779e0
tree58c662640ce3fc0d386e7de73a1b4b9085083b43
parent3ceb10b16235dfc7458de6dff2dafc2306946452
Use float instead of double division in wxHashMap code.

We don't need double precision for determining the hash table fill rate and
using double constant also results in float-to-double promotion warnings from
gcc 4.7.

See #14362.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/hashmap.h