Add missing std:: qualifier to ptrdiff_t. Refs #3773.

[SVN r58402]
This commit is contained in:
Daniel James
2009-12-15 22:42:04 +00:00
parent 618a51df13
commit 2f0a94bcfd
2 changed files with 3 additions and 1 deletions

View File

@@ -148,7 +148,7 @@ namespace boost { namespace unordered_detail {
// Set up the sentinel (node_ptr cast)
bucket_ptr sentinel = constructor.get() +
static_cast<ptrdiff_t>(this->bucket_count_);
static_cast<std::ptrdiff_t>(this->bucket_count_);
sentinel->next_ = sentinel;
// Only release the buckets once everything is successfully