Fix non ISO compliant use of ternary operator.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@654 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -938,8 +938,9 @@ public:
|
||||
|
||||
~chunk_guard() {
|
||||
// don't do anything if the size is not given
|
||||
nfo.size != static_cast<unsigned int>(-1) ? reader.IncPtr(static_cast<int>(nfo.size)-
|
||||
reader.GetCurrentPos()+cur) : 0;
|
||||
if(nfo.size != static_cast<unsigned int>(-1)) {
|
||||
reader.IncPtr(static_cast<int>(nfo.size)-reader.GetCurrentPos()+cur);
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user