From 86fdd915c4093c9cdeffb4185efd7646c4cbe8c8 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 27 Sep 2012 11:49:13 +0200
Subject: [PATCH] fixed compile problem with gcc-4.6.1 (std::tr1 -> std::)

---
 GeoLib/Grid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GeoLib/Grid.h b/GeoLib/Grid.h
index 0982d4ed131..da8a896e385 100644
--- a/GeoLib/Grid.h
+++ b/GeoLib/Grid.h
@@ -319,7 +319,7 @@ private:
 					POINT* &nearest_pnt) const
 	{
 		const std::size_t grid_idx (coords[0] + coords[1] * _n_steps[0] + coords[2] * _n_steps[0] * _n_steps[1]);
-		std::vector<typename std::tr1::add_pointer<typename std::tr1::remove_pointer<POINT>::type>::type> const& pnts(_grid_cell_nodes_map[grid_idx]);
+		std::vector<typename std::add_pointer<typename std::remove_pointer<POINT>::type>::type> const& pnts(_grid_cell_nodes_map[grid_idx]);
 		if (pnts.empty()) return false;
 
 		const std::size_t n_pnts(pnts.size());
-- 
GitLab