- BUGFIX: Crash in obj-model.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@832 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
abec0f9a77
commit
613a4cc679
|
@ -56,8 +56,15 @@ namespace Assimp
|
|||
*/
|
||||
template<class char_t>
|
||||
inline bool isEndOfBuffer( char_t it, char_t end )
|
||||
{
|
||||
if ( it == end )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
end--;
|
||||
}
|
||||
return ( it == end );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue