]> git.tdb.fi Git - libs/datafile.git/commit
Prefer exact type match when looking for Loader actions
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 08:16:18 +0000 (11:16 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Jun 2019 08:16:18 +0000 (11:16 +0300)
commit5520420ecb8da0f6528b2681569f7504f75ddf38
treec336d827bc43d2797cfca3a2f2312c17c14f5b38
parente6ebbe43ed9043c12245cea152cbc62ffd4ad0df
Prefer exact type match when looking for Loader actions

Previosuly the first matching action in alphabetical signature order was
taken, which causes a float overload to be chosen for an int value even
if an int overload was also available.
source/loader.cpp