mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 14:43:43 +00:00
Added ftype::Trunc.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
4e9efa63ff
commit
11ee2b121b
@@ -23,10 +23,7 @@ public:
|
||||
{
|
||||
for (auto level = ftype::GetLevel(t); level; --level)
|
||||
{
|
||||
auto truncatedType = t;
|
||||
ftype::TruncValue(truncatedType, level);
|
||||
auto const it = m_mapping.find(truncatedType);
|
||||
|
||||
auto const it = m_mapping.find(ftype::Trunc(t, level));
|
||||
if (it != m_mapping.cend())
|
||||
return it;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user