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