[base] Move run_set to namespace base

This commit is contained in:
Ming-Hung Tsai 2020-07-27 10:48:54 +08:00
parent 71545e56c6
commit e62022a200
16 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
#include "base/io_generator.h"
#include "persistent-data/run_set.h"
#include "base/run_set.h"
#include <stdexcept>
#include <cstdlib>
#include <cstring>

View File

@ -1,5 +1,5 @@
#ifndef PERSISTENT_DATA_RANGE_H
#define PERSISTENT_DATA_RANGE_H
#ifndef BASE_DATA_RANGE_H
#define BASE_DATA_RANGE_H
#include <boost/optional.hpp>
#include <ostream>

View File

@ -1,7 +1,7 @@
#ifndef PERSISTENT_DATA_H
#define PERSISTENT_DATA_H
#ifndef BASE_RUN_SET_H
#define BASE_RUN_SET_H
#include "persistent-data/run.h"
#include "base/run.h"
#include <algorithm>
#include <set>

View File

@ -19,8 +19,8 @@
#ifndef BLOCK_COUNTER_H
#define BLOCK_COUNTER_H
#include "base/run_set.h"
#include "block.h"
#include "run_set.h"
//----------------------------------------------------------------

View File

@ -19,7 +19,7 @@
#ifndef PERSISTENT_DATA_DATA_STRUCTURES_BITSET_H
#define PERSISTENT_DATA_DATA_STRUCTURES_BITSET_H
#include "persistent-data/run.h"
#include "base/run.h"
//----------------------------------------------------------------

View File

@ -1,9 +1,9 @@
#ifndef PERSISTENT_DATA_DATA_STRUCTURES_DAMAGE_VISITOR_H
#define PERSISTENT_DATA_DATA_STRUCTURES_DAMAGE_VISITOR_H
#include "base/run.h"
#include "persistent-data/data-structures/btree.h"
#include "persistent-data/data-structures/btree_node_checker.h"
#include "persistent-data/run.h"
//----------------------------------------------------------------

View File

@ -1,8 +1,8 @@
#ifndef SPAN_ITERATOR_H
#define SPAN_ITERATOR_H
#include "base/run_set.h"
#include "persistent-data/space_map.h"
#include "persistent-data/run_set.h"
#include <set>

View File

@ -19,9 +19,9 @@
#ifndef SPACE_MAP_H
#define SPACE_MAP_H
#include "base/run.h"
#include "persistent-data/block.h"
#include "persistent-data/block_counter.h"
#include "persistent-data/run.h"
#include <boost/optional.hpp>
#include <functional>

View File

@ -1,8 +1,8 @@
#ifndef THIN_DEVICE_CHECKER_H
#define THIN_DEVICE_CHECKER_H
#include "base/run.h"
#include "persistent-data/data-structures/btree.h"
#include "persistent-data/run.h"
//----------------------------------------------------------------

View File

@ -1,8 +1,8 @@
#ifndef MAPPING_TREE_H
#define MAPPING_TREE_H
#include "base/run.h"
#include "persistent-data/data-structures/btree.h"
#include "persistent-data/run.h"
//----------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#ifndef THIN_RMAP_VISITOR_H
#define THIN_RMAP_VISITOR_H
#include "persistent-data/run.h"
#include "base/run.h"
#include "thin-provisioning/mapping_tree.h"
//----------------------------------------------------------------

View File

@ -7,8 +7,8 @@
#include "version.h"
#include "base/indented_stream.h"
#include "base/run.h"
#include "persistent-data/data-structures/btree_damage_visitor.h"
#include "persistent-data/run.h"
#include "persistent-data/space-maps/core.h"
#include "persistent-data/space-maps/disk.h"
#include "persistent-data/file_utils.h"

View File

@ -6,8 +6,8 @@
#include "version.h"
#include "base/run.h"
#include "persistent-data/data-structures/btree_damage_visitor.h"
#include "persistent-data/run.h"
#include "persistent-data/space-maps/core.h"
#include "persistent-data/file_utils.h"
#include "thin-provisioning/commands.h"

View File

@ -3,10 +3,10 @@
#include "test_utils.h"
#include "base/endian_utils.h"
#include "base/run.h"
#include "persistent-data/data-structures/btree_damage_visitor.h"
#include "persistent-data/space-maps/core.h"
#include "persistent-data/transaction_manager.h"
#include "persistent-data/run.h"
using namespace base;
using namespace std;

View File

@ -1,6 +1,6 @@
#include "gmock/gmock.h"
#include "persistent-data/run_set.h"
#include "base/run_set.h"
#include <memory>

View File

@ -1,7 +1,7 @@
#include "gmock/gmock.h"
#include "base/run_set.h"
#include "persistent-data/space-maps/subtracting_span_iterator.h"
#include "persistent-data/run_set.h"
using namespace std;
using namespace persistent_data;