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

@@ -107,5 +107,7 @@ First official release.
* Support instantiating the containers with incomplete value types. * Support instantiating the containers with incomplete value types.
* Reduced the number of warnings (mostly in tests). * Reduced the number of warnings (mostly in tests).
* [@http://svn.boost.org/trac/boost/ticket/3773 Ticket 3773]:
Add missing `std` qualifier to `ptrdiff_t`.
[endsect] [endsect]

View File

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