Fixed bug preventing compilation on Tru64/CXX.

[SVN r39918]
This commit is contained in:
Markus Schöpflin 2007-10-11 07:36:41 +00:00
parent 8f03aeac4e
commit bddd52c4b9

View File

@ -54,8 +54,8 @@ public:
void* apply (void* address, std::size_t n) const
{
for(char* next = address = this->apply(address); !! --n;)
this->apply(next = next+sizeof(T));
for(void* next = address = this->apply(address); !! --n;)
this->apply(next = static_cast<char *>(next) + sizeof(T));
return address;
}