From 37fbe1693978e4cf640c1ea0c8030a81befb5553 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Sun, 25 Nov 2012 11:22:38 +0000 Subject: [PATCH] Assert only takes one argument. It was causing a compiler error on GCC. --- library/PolyVoxCore/source/Region.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/source/Region.cpp b/library/PolyVoxCore/source/Region.cpp index ea79ced2..8c6fa66d 100644 --- a/library/PolyVoxCore/source/Region.cpp +++ b/library/PolyVoxCore/source/Region.cpp @@ -79,7 +79,7 @@ namespace PolyVox //////////////////////////////////////////////////////////////////////////////// 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_iLowerY = ((std::min)(m_iLowerY, reg.getLowerY()));