Fix the SWIG warning in the SWIG interface files

This keeps the .cpp and .h files clean.
This commit is contained in:
Matt Williams
2013-07-22 16:10:31 +01:00
parent 3971e6415c
commit 7ee913c8a8
4 changed files with 6 additions and 5 deletions

View File

@ -494,12 +494,10 @@ namespace PolyVox
* \param region The Region to write to the stream.
* \return A reference to the output stream to allow chaining.
*/
#if !defined SWIG
std::ostream& operator<<(std::ostream& os, const Region& region)
{
os << "(" << region.getLowerX() << "," << region.getLowerY() << "," << region.getLowerZ() <<
") to (" << region.getUpperX() << "," << region.getUpperY() << "," << region.getUpperZ() << ")";
return os;
}
#endif
}
}