Assert only takes one argument.

It was causing a compiler error on GCC.
This commit is contained in:
Matt Williams 2012-11-25 11:22:38 +00:00
parent fd3ce69187
commit 37fbe16939

View File

@ -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()));