mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-25 04:50:06 +00:00
Fixed ICC warning regarding inline declaration after usage.
This commit is contained in:
parent
ab5e2e8d4e
commit
99a4b112b7
@ -156,9 +156,7 @@ public:
|
||||
}
|
||||
|
||||
/// \brief Returns the stencil at index i in the tables
|
||||
Stencil operator[] (int index) const {
|
||||
return GetStencil(index);
|
||||
}
|
||||
Stencil operator[] (int index) const;
|
||||
|
||||
/// \brief Updates point values based on the control values
|
||||
///
|
||||
@ -367,6 +365,12 @@ StencilTables::GetStencil(int i) const {
|
||||
const_cast<float *>(&_weights[ofs]) );
|
||||
}
|
||||
|
||||
inline Stencil
|
||||
StencilTables::operator[] (int index) const {
|
||||
|
||||
return GetStencil(index);
|
||||
}
|
||||
|
||||
} // end namespace Far
|
||||
|
||||
} // end namespace OPENSUBDIV_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user