mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
workaround for a compiler bug with Win64
This commit is contained in:
parent
dfdcf8bfad
commit
74f0849d7e
@ -39,9 +39,9 @@ optimize() {
|
||||
}
|
||||
|
||||
// Ok, all the rows had the same value. Collapse them.
|
||||
if(!_data.empty()){
|
||||
_data.erase(_data.begin() + 1, _data.end());
|
||||
}
|
||||
|
||||
// We have to use the call to v() to work around an apparent compiler bug with Win64.
|
||||
_data.v().erase(_data.v().begin() + 1, _data.v().end());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user