GCC was complaining about the extra qualification here. I've only commented it out to make it clear what I did.

I also needed to include cassert header to handle assert()s in templates.
Fixed compilation on Linux.
This commit is contained in:
Matt Williams
2010-03-30 10:52:03 +00:00
parent 3e1c07550b
commit 2f084686f0
2 changed files with 10 additions and 6 deletions

View File

@ -143,7 +143,7 @@ namespace PolyVox
assert(false);
}
Array<noOfDims, ElementType>& Array<noOfDims, ElementType>::operator=(const Array<noOfDims, ElementType>& rhs)
Array<noOfDims, ElementType>& /*Array<noOfDims, ElementType>::*/operator=(const Array<noOfDims, ElementType>& rhs)
{
//Not implemented
assert(false);
@ -247,7 +247,7 @@ namespace PolyVox
assert(false);
}
Array<1, ElementType>& Array<1, ElementType>::operator=(const Array<1, ElementType>& rhs)
Array<1, ElementType>& /*Array<1, ElementType>::*/operator=(const Array<1, ElementType>& rhs)
{
//Not implemented
assert(false);
@ -328,4 +328,5 @@ namespace PolyVox
#include "Array.inl"
#endif
#endif