mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 03:54:33 +00:00 
			
		
		
		
	Clean up
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| #include <Grid/GridCore.h> | #include <Grid/GridCore.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
|  |  | ||||||
| namespace Grid { | NAMESPACE_BEGIN(Grid); | ||||||
|  |  | ||||||
| MemoryStats *MemoryProfiler::stats = nullptr; | MemoryStats *MemoryProfiler::stats = nullptr; | ||||||
| bool         MemoryProfiler::debug = false; | bool         MemoryProfiler::debug = false; | ||||||
| @@ -122,4 +122,5 @@ std::string sizeString(const size_t bytes) | |||||||
|   return std::string(buf); |   return std::string(buf); | ||||||
| } | } | ||||||
|  |  | ||||||
| } | NAMESPACE_END(Grid); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk> | |||||||
| #include <mm_malloc.h> | #include <mm_malloc.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| namespace Grid { | NAMESPACE_BEGIN(Grid); | ||||||
|  |  | ||||||
| class PointerCache { | class PointerCache { | ||||||
| private: | private: | ||||||
| @@ -309,5 +309,6 @@ template<class T> using Vector     = std::vector<T,alignedAllocator<T> >; | |||||||
| template<class T> using commVector = std::vector<T,commAllocator<T> >;               | template<class T> using commVector = std::vector<T,commAllocator<T> >;               | ||||||
| template<class T> using Matrix     = std::vector<std::vector<T,alignedAllocator<T> > >; | template<class T> using Matrix     = std::vector<std::vector<T,alignedAllocator<T> > >; | ||||||
|      |      | ||||||
| }; // namespace Grid | NAMESPACE_END(Grid); | ||||||
|  |  | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user