Remove some more global using namespaces

This commit is contained in:
Joe Thornber 2013-05-28 13:53:23 +01:00
parent 6706493304
commit 480e94d4eb

View File

@ -24,15 +24,14 @@
#include <iostream>
// FIXME: remove
//----------------------------------------------------------------
namespace {
using namespace base;
using namespace persistent_data;
using namespace btree_detail;
using namespace std;
//----------------------------------------------------------------
namespace {
struct btree_node_validator : public block_manager<>::validator {
virtual void check(buffer<> const &b, block_address location) const {
disk_node const *data = reinterpret_cast<disk_node const *>(&b);
@ -60,6 +59,7 @@ namespace {
//----------------------------------------------------------------
namespace persistent_data {
inline void
ro_spine::step(block_address b)
{
@ -810,5 +810,6 @@ btree<Levels, ValueTraits>::walk_tree_internal(visitor &v,
v.visit_leaf(loc, ov);
}
}
}
//----------------------------------------------------------------