mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 22:31:07 +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
|
/// \brief Returns the stencil at index i in the tables
|
||||||
Stencil operator[] (int index) const {
|
Stencil operator[] (int index) const;
|
||||||
return GetStencil(index);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// \brief Updates point values based on the control values
|
/// \brief Updates point values based on the control values
|
||||||
///
|
///
|
||||||
@ -367,6 +365,12 @@ StencilTables::GetStencil(int i) const {
|
|||||||
const_cast<float *>(&_weights[ofs]) );
|
const_cast<float *>(&_weights[ofs]) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline Stencil
|
||||||
|
StencilTables::operator[] (int index) const {
|
||||||
|
|
||||||
|
return GetStencil(index);
|
||||||
|
}
|
||||||
|
|
||||||
} // end namespace Far
|
} // end namespace Far
|
||||||
|
|
||||||
} // end namespace OPENSUBDIV_VERSION
|
} // end namespace OPENSUBDIV_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user