[base] Move math_utils to namespace base

This commit is contained in:
Ming-Hung Tsai 2020-06-15 13:59:16 +08:00
parent 12d7178199
commit 5260a87c0b
8 changed files with 9 additions and 9 deletions

View File

@ -16,8 +16,8 @@
// with thin-provisioning-tools. If not, see // with thin-provisioning-tools. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
#ifndef THINP_MATH_H #ifndef BASE_MATH_H
#define THINP_MATH_H #define BASE_MATH_H
//---------------------------------------------------------------- //----------------------------------------------------------------

View File

@ -19,7 +19,7 @@
#ifndef ARRAY_H #ifndef ARRAY_H
#define ARRAY_H #define ARRAY_H
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include "persistent-data/data-structures/btree.h" #include "persistent-data/data-structures/btree.h"
#include "persistent-data/data-structures/btree_counter.h" #include "persistent-data/data-structures/btree_counter.h"
#include "persistent-data/data-structures/btree_damage_visitor.h" #include "persistent-data/data-structures/btree_damage_visitor.h"

View File

@ -1,6 +1,6 @@
#include "persistent-data/data-structures/array.h" #include "persistent-data/data-structures/array.h"
#include "persistent-data/data-structures/bitset.h" #include "persistent-data/data-structures/bitset.h"
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
using namespace persistent_data; using namespace persistent_data;
using namespace persistent_data::bitset_detail; using namespace persistent_data::bitset_detail;

View File

@ -1,4 +1,4 @@
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include "persistent-data/file_utils.h" #include "persistent-data/file_utils.h"
#include "persistent-data/space-maps/core.h" #include "persistent-data/space-maps/core.h"

View File

@ -17,7 +17,7 @@
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
#include "persistent-data/space-maps/core.h" #include "persistent-data/space-maps/core.h"
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include <stdexcept> #include <stdexcept>

View File

@ -26,7 +26,7 @@
#include "persistent-data/data-structures/btree_damage_visitor.h" #include "persistent-data/data-structures/btree_damage_visitor.h"
#include "persistent-data/data-structures/btree_counter.h" #include "persistent-data/data-structures/btree_counter.h"
#include "persistent-data/checksum.h" #include "persistent-data/checksum.h"
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include "persistent-data/transaction_manager.h" #include "persistent-data/transaction_manager.h"
using namespace persistent_data; using namespace persistent_data;

View File

@ -20,7 +20,7 @@
#include "thin-provisioning/metadata.h" #include "thin-provisioning/metadata.h"
#include "persistent-data/file_utils.h" #include "persistent-data/file_utils.h"
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include "persistent-data/space-maps/core.h" #include "persistent-data/space-maps/core.h"
#include "persistent-data/space-maps/disk.h" #include "persistent-data/space-maps/disk.h"

View File

@ -16,7 +16,7 @@
// with thin-provisioning-tools. If not, see // with thin-provisioning-tools. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
#include "persistent-data/math_utils.h" #include "base/math_utils.h"
#include "thin-provisioning/thin_pool.h" #include "thin-provisioning/thin_pool.h"
#include <stdexcept> #include <stdexcept>