forked from boostorg/unordered
Merge in latest unordered developments (revisions 42607-42611).
[SVN r42612]
This commit is contained in:
1 parent
dfac5aab41
commit
e847046f95
5 files changed
+37
-40
No files matched your search
@@ -207,7 +207,7 @@ namespace boost {
|
||||
BOOST_ASSERT(!ptr_);
|
||||
length_ = l;
|
||||
ptr_ = alloc_.allocate(length_);
|
||||
pointer end = ptr_ + length_;
|
||||
pointer end = ptr_ + static_cast<std::ptrdiff_t>(length_);
|
||||
for(constructed_ = ptr_; constructed_ != end; ++constructed_)
|
||||
alloc_.construct(constructed_, v);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user