Use int as category value type

This commit is contained in:
Magne Sjaastad
2017-02-15 10:38:42 +01:00
parent e8c5a43e1a
commit f5db37fcf7
2 changed files with 2 additions and 2 deletions

View File

@@ -639,7 +639,7 @@ void RimLegendConfig::setCategoryColors(const std::vector<cvf::Color3ub>& catego
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RimLegendConfig::categoryNameFromCategoryValue(size_t categoryValue) const
QString RimLegendConfig::categoryNameFromCategoryValue(int categoryValue) const
{
if (m_categoryNames.size() > 0)
{