Add missing 'use namespace std'. Which I should have done when I was told about

them before. Sorry.


[SVN r42575]
This commit is contained in:
Daniel James
2008-01-07 19:44:13 +00:00
parent fa085c1ee5
commit 6a87191d7b

View File

@@ -1225,6 +1225,8 @@ namespace boost {
// no throw
size_type max_size() const
{
using namespace std;
// size < mlf_ * count
return float_to_size_t(ceil(
max_bucket_count() * mlf_)) - 1;
@@ -1303,6 +1305,8 @@ namespace boost {
// factor. This is to try to avoid excessive rehashes.
bool reserve_extra(size_type n)
{
using namespace std;
bool need_to_reserve = n >= max_load_;
// throws - basic:
if (need_to_reserve) {