Assert only takes one argument.
It was causing a compiler error on GCC.
This commit is contained in:
parent
fd3ce69187
commit
37fbe16939
@ -79,7 +79,7 @@ namespace PolyVox
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Region::accumulate(const Region& reg)
|
void Region::accumulate(const Region& reg)
|
||||||
{
|
{
|
||||||
assert(reg.isValid(), "The result of accumulating an invalid region is not defined.");
|
assert(reg.isValid()); //The result of accumulating an invalid region is not defined.
|
||||||
|
|
||||||
m_iLowerX = ((std::min)(m_iLowerX, reg.getLowerX()));
|
m_iLowerX = ((std::min)(m_iLowerX, reg.getLowerX()));
|
||||||
m_iLowerY = ((std::min)(m_iLowerY, reg.getLowerY()));
|
m_iLowerY = ((std::min)(m_iLowerY, reg.getLowerY()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user