diff --git a/src/core/math/Random.h b/src/core/math/Random.h
index dd4a4bff7c492eb309f880061fbb07040c3f9964..ec61aa51d65b76f3a10c243086d08a48eb166590 100644
--- a/src/core/math/Random.h
+++ b/src/core/math/Random.h
@@ -48,24 +48,6 @@ void seedRandomGenerator( const std::mt19937::result_type & seed ); // std::mt19
 *   \brief Returns a random integral number of type INT in the range [min,max] (max included!)
 */
 //**********************************************************************************************************************
-template< typename INT >
-INT intRandom()
-{
-   return intRandom( std::numeric_limits<INT>::min(), std::numeric_limits<INT>::max() );
-}
-
-template< typename INT >
-INT intRandom( const INT min )
-{
-   return intRandom( min, std::numeric_limits<INT>::max(), internal::getGenerator() );
-}
-
-template< typename INT >
-INT intRandom( const INT min, const INT max )
-{
-   return intRandom( min, max, internal::getGenerator() );
-}
-
 template< typename INT >
 INT intRandom( const INT min, const INT max, std::mt19937 & generator )
 {
@@ -136,6 +118,25 @@ inline signed char intRandom<signed char>( const signed char min, const signed c
 }
 
 
+template< typename INT >
+INT intRandom( const INT min )
+{
+   return intRandom( min, std::numeric_limits<INT>::max(), internal::getGenerator() );
+}
+
+template< typename INT >
+INT intRandom( const INT min, const INT max )
+{
+   return intRandom( min, max, internal::getGenerator() );
+}
+
+template< typename INT >
+INT intRandom()
+{
+   return intRandom( std::numeric_limits<INT>::min(), std::numeric_limits<INT>::max() );
+}
+
+
 
 template< typename INT >
 class IntRandom