[base] Move math_utils to namespace base
This commit is contained in:
parent
12d7178199
commit
5260a87c0b
@ -16,8 +16,8 @@
|
||||
// with thin-provisioning-tools. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef THINP_MATH_H
|
||||
#define THINP_MATH_H
|
||||
#ifndef BASE_MATH_H
|
||||
#define BASE_MATH_H
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef 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_counter.h"
|
||||
#include "persistent-data/data-structures/btree_damage_visitor.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "persistent-data/data-structures/array.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::bitset_detail;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "persistent-data/math_utils.h"
|
||||
#include "base/math_utils.h"
|
||||
#include "persistent-data/file_utils.h"
|
||||
#include "persistent-data/space-maps/core.h"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "persistent-data/space-maps/core.h"
|
||||
#include "persistent-data/math_utils.h"
|
||||
#include "base/math_utils.h"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "persistent-data/data-structures/btree_damage_visitor.h"
|
||||
#include "persistent-data/data-structures/btree_counter.h"
|
||||
#include "persistent-data/checksum.h"
|
||||
#include "persistent-data/math_utils.h"
|
||||
#include "base/math_utils.h"
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
|
||||
using namespace persistent_data;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "thin-provisioning/metadata.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/disk.h"
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
// with thin-provisioning-tools. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "persistent-data/math_utils.h"
|
||||
#include "base/math_utils.h"
|
||||
#include "thin-provisioning/thin_pool.h"
|
||||
|
||||
#include <stdexcept>
|
||||
|
Loading…
Reference in New Issue
Block a user