Merge from trunk

[SVN r39987]
This commit is contained in:
Nicola Musatti
2007-10-13 21:25:29 +00:00
parent de42786286
commit 8f4db5aa5b

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;
}