forked from boostorg/utility
Merge from trunk
[SVN r39987]
This commit is contained in:
@ -54,8 +54,8 @@ public:
|
|||||||
|
|
||||||
void* apply (void* address, std::size_t n) const
|
void* apply (void* address, std::size_t n) const
|
||||||
{
|
{
|
||||||
for(char* next = address = this->apply(address); !! --n;)
|
for(void* next = address = this->apply(address); !! --n;)
|
||||||
this->apply(next = next+sizeof(T));
|
this->apply(next = static_cast<char *>(next) + sizeof(T));
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user