Move range.h to persistent-data
This commit is contained in:
		@@ -1,12 +1,12 @@
 | 
			
		||||
#ifndef THIN_RANGE_H
 | 
			
		||||
#define THIN_RANGE_H
 | 
			
		||||
#ifndef PERSISTENT_DATA_RANGE_H
 | 
			
		||||
#define PERSISTENT_DATA_RANGE_H
 | 
			
		||||
 | 
			
		||||
#include <boost/optional.hpp>
 | 
			
		||||
#include <ostream>
 | 
			
		||||
 | 
			
		||||
//----------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
namespace thin_provisioning {
 | 
			
		||||
namespace base {
 | 
			
		||||
	template <typename T>
 | 
			
		||||
	class range {
 | 
			
		||||
	public:
 | 
			
		||||
@@ -21,10 +21,9 @@
 | 
			
		||||
 | 
			
		||||
#include "persistent-data/block.h"
 | 
			
		||||
#include "persistent-data/error_set.h"
 | 
			
		||||
#include "persistent-data/range.h"
 | 
			
		||||
#include "persistent-data/space_map.h"
 | 
			
		||||
 | 
			
		||||
#include "thin-provisioning/range.h"
 | 
			
		||||
 | 
			
		||||
#include <deque>
 | 
			
		||||
 | 
			
		||||
//----------------------------------------------------------------
 | 
			
		||||
@@ -56,7 +55,7 @@ namespace thin_provisioning {
 | 
			
		||||
		bool operator ==(super_block_corruption const &rhs) const;
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	typedef range<uint64_t> range64;
 | 
			
		||||
	typedef base::range<uint64_t> range64;
 | 
			
		||||
 | 
			
		||||
	struct missing_device_details : public metadata_damage {
 | 
			
		||||
		missing_device_details(range64 missing);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user