cpp: Do not produce warnings when using the UIntModel

This commit is contained in:
Tobias Hunger 2023-03-06 14:33:41 +01:00
parent 9fcce74b2f
commit 9af756bf3f
No known key found for this signature in database
GPG key ID: 60874021D2F23F91

View file

@ -777,7 +777,7 @@ struct UIntModel : Model<int>
{
if (value >= row_count())
return {};
return value;
return static_cast<int>(value);
}
};
} // namespace private_api