From dcf5a27f149caec6b914d812d3ca297503cba042 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 27 Mar 2013 15:51:03 +0100
Subject: [PATCH] Remove default template argument in generateRandomPoints().

---
 Tests/GeoLib/TestPointVec.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Tests/GeoLib/TestPointVec.cpp b/Tests/GeoLib/TestPointVec.cpp
index ae15d0e8993..e08ab84801c 100644
--- a/Tests/GeoLib/TestPointVec.cpp
+++ b/Tests/GeoLib/TestPointVec.cpp
@@ -26,11 +26,10 @@ public:
 protected:
 	// Generates n new points according to given random number distribution,
 	// which is uniform distribution in [-1, 1]^3.
-	template <typename RandomDistribution = std::uniform_real_distribution<double>>
 	void
-	generateRandomPoints(std::size_t const n = 1000,
-		RandomDistribution rnd = std::uniform_real_distribution<double>(-1, 1))
+	generateRandomPoints(std::size_t const n = 1000)
 	{
+		std::uniform_real_distribution<double> rnd(-1, 1);
 		std::generate_n(std::back_inserter(*ps_ptr), n,
 			[&]() { return new GeoLib::Point(rnd(gen), rnd(gen), rnd(gen)); });
 	}
-- 
GitLab