mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix compiler warning
This commit is contained in:
parent
c587fd2400
commit
bd47826608
@ -104,6 +104,14 @@ cvf::Color3fArray ColorTable::color3fArray() const
|
|||||||
return col3fArr;
|
return col3fArr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
size_t ColorTable::size() const
|
||||||
|
{
|
||||||
|
return m_colors.size();
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -65,7 +65,7 @@ public:
|
|||||||
cvf::Color3ubArray color3ubArray() const;
|
cvf::Color3ubArray color3ubArray() const;
|
||||||
cvf::Color3fArray color3fArray() const;
|
cvf::Color3fArray color3fArray() const;
|
||||||
|
|
||||||
const size_t size() const { return m_colors.size(); }
|
size_t size() const;
|
||||||
|
|
||||||
static cvf::Color3ub fromQColor(const QColor& color);
|
static cvf::Color3ub fromQColor(const QColor& color);
|
||||||
static cvf::Color3ubArray interpolateColorArray(const cvf::Color3ubArray& colorArray, size_t targetColorCount);
|
static cvf::Color3ubArray interpolateColorArray(const cvf::Color3ubArray& colorArray, size_t targetColorCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user