Fixed ICC warning regarding inline declaration after usage.

This commit is contained in:
barfowl 2014-09-24 14:06:18 -07:00
parent ab5e2e8d4e
commit 99a4b112b7

View File

@ -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